FreeBSD
Race condition in ELF core dump segment counting
The ELF core dump code counted the number of dumpable VM map entries, allocated a buffer for the corresponding program headers, then iterated over the map a second time to populate them. A process sharing the address space via rfork(2) can mutate the map between the two passes, causing the second pass to write program headers past the end of the buffer. An unprivileged local user sharing an address space with a process that dumps core can trigger an out-of-bounds write on the kernel heap, potentially leading to privilege escalation.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.4high · scored by CISA ADP · CWE-362
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
FreeBSD FreeBSD
- >= 15.1-RELEASE, < p2
- >= 15.0-RELEASE, < p12
- >= 14.4-RELEASE, < p8
Fixed in p2, p12, p8
Mitigation
Upgrade FreeBSD to p2 or p12 or p8 or later.
References
- Vendor advisory security.freebsd.org/advisories/FreeBSD-SA-26:55.elf.asc
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.