Opened 3 weeks ago
Closed 13 days ago
#6028 closed enhancement (wontfix)
glibc CVE-2026-86805 and CVE-2026-95818
| Reported by: | Xi Ruoyao | Owned by: | lfs-book |
|---|---|---|---|
| Priority: | normal | Milestone: | 13.2 |
| Component: | Errata | Version: | git |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The exploits of them require existing setuid/setgid executable with $ORIGIN in DT_RPATH or DT_RUNPATH. LFS does not have such an executable and I guess BLFS is unlikely to have one, at least my system does not:
$ sudo readelf -d $(find /usr /opt -perm 4755 -or -perm 2755 -or -perm 4750) | grep -E 'R(UN)?PATH' 0x000000000000001d (RUNPATH) Library runpath: [/usr/lib/sudo]
So I'm inclined to just issue an advisory telling to audit the setuid/setgid executables using the command above instead of updating (unless someone else finds an exploitable executable on BLFS).
Change History (3)
comment:1 by , 3 weeks ago
comment:2 by , 3 weeks ago
The RPATH/RUNPATH must contains the string "$ORIGIN" explicitly to be exploitable. Thus sudo and kwrited are not exploitable.
comment:3 by , 13 days ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Closing as wontfix because it does not affect BLFS. However the issues will be addressed in a security advisory associated with ticket #6023 - Fix various security vulnerabilities in glibc-2.44.

In my case I needed to do something slightly different.
The result was:
This was on a compete LFS/BLFS system. I needed to do the above because it was not obvious what file produced that last line.
Doing more investigation, we can get rid of kwrited by installing a separate package, libutempter. What it actually installs is libutempter.so
The package builds:
However, that appears to be more trouble than it's worth.