CVE-2026-58088

published 19 Aug 2026 · updated 20 Aug 2026

Race condition in ELF core dump segment counting

7.4HighCVSS 7.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p8, p12 and p2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=14.4-RELEASE <p8, >=15.0-RELEASE <p12, >=15.1-RELEASE <p2p8, p12, p2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58088 severity on Zeptric[![CVE-2026-58088](https://zeptric.io/badge/cve/CVE-2026-58088.svg)](https://zeptric.io/cve/CVE-2026-58088)