# CVE-2026-58088: Race condition in ELF core dump segment counting

- Severity: High 7.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-08-19T07:52:13.411Z
- Modified: 2026-10-27T12:10:00.343Z
- Weaknesses: CWE-362, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

## 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.1-RELEASE before p2; from 15.0-RELEASE before p12; from 14.4-RELEASE before p8; 14.4; 15.0; 15.1

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:55.elf.asc> (mailing-list, vendor-advisory)

## Sources

- CVE List: [CVE-2026-58088](https://www.cve.org/CVERecord?id=CVE-2026-58088), CVE Terms of Use, modified 2026-08-20
- NVD: [CVE-2026-58088](https://nvd.nist.gov/vuln/detail/CVE-2026-58088), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-58088 · Whole record: https://cve.day/CVE-2026-58088.json · Rebuilt by cve.day 2026-11-25T22:59:33.914Z
