CVE-2026-58088

Race condition in ELF core dump segment counting

State
Published
Severity
7.4 High
Published
Aug 19, 2026
Updated
Aug 20, 2026
Reserved
Jun 29, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-787 Out-of-bounds Write

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.1-RELEASE to before p2Affected
  • 15.0-RELEASE to before p12Affected
  • 14.4-RELEASE to before p8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.