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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://security.freebsd.org/advisories/FreeBSD-SA-26:55.elf.asc Vendor Advisory, Mailing List
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.4 · freebsdNVD modified 2026-10-27 12:10
Affected (CPE criteria) 25
cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:14.4:p1:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:14.4:p2:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:14.4:p3:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:14.4:p4:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:14.4:p5:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:14.4:p6:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:14.4:p7:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:14.4:rc1:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:-:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p1:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p10:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p11:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p2:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p3:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p4:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p5:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p6:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p7:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p8:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.0:p9:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.1:rc2:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.1:rc3-p1:*:*:*:*:*:*
References 1
- https://security.freebsd.org/advisories/FreeBSD-SA-26:55.elf.asc Vendor Advisory, Mailing List