CVE-2026-58088: Race condition in ELF core dump segment counting
CVE-2026-58088 affects 25 listed versions of FreeBSD in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
FreeBSD
25 of 250 listed versions are affected. Fixed in 15.1-RELEASE-p2, 15.0-RELEASE-p12, 14.4-RELEASE-p8. The newest release, 15.1-p7, is not affected.
15.1-p1 15.1 15.1-rc3-p1 15.1-rc2 15.0-p11 15.0-p10 15.0-p9 15.0-p8 15.0-p7 15.0-p6 15.0-p5 15.0-p4 15.0-p3 15.0-p2 15.0-p1 15.0 14.4-p7 14.4-p6 14.4-p5 14.4-p4 14.4-p3 14.4-p2 14.4-p1 14.4 14.4-rc1
What it is
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.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (Freebsd)
Published by Freebsd on 19 August 2026. Last changed 27 October 2026.
Sources
Check one version you run: look CVE-2026-58088 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.