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.

Severity (CVSS)

Base score7.4
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Provided byCISA-ADP

Weaknesses

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

Affected products

VendorProductVersions
FreeBSDFreeBSD15.1-RELEASE to <p2; 15.0-RELEASE to <p12; 14.4-RELEASE to <p8

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 20 Aug 2026 07:06 UTC.