CVE-2026-58088
Analyzed Analyzed - Analysis Complete

Heap-based Buffer Overflow in FreeBSD Kernel Core Dump

Vulnerability report for CVE-2026-58088, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-31

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-31
Generated
2026-09-08
AI Q&A
2026-08-19
EPSS Evaluated
2026-09-07
NVD
EUVD

Affected Vendors & Products

Showing 25 associated CPEs
Vendor Product Version / Range
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.1
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 15.1
freebsd freebsd 15.1
freebsd freebsd 15.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
CWE-362 The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a race condition in FreeBSD's ELF core dump mechanism. The kernel counts memory regions to dump, allocates a buffer for program headers, then populates them in a second pass. A malicious process sharing the address space via rfork(2) can modify the memory map between these passes, causing the second pass to write program headers past the allocated buffer. This results in an out-of-bounds write on the kernel heap.

Detection Guidance

Detecting this vulnerability requires checking if your FreeBSD system is running a vulnerable kernel version. Run uname -a to check the kernel version and compare it against the patched versions listed in the advisory. Additionally, check if core dumps are enabled by running sysctl kern.coredump.

Impact Analysis

An unprivileged local user sharing an address space with a process that dumps core could exploit this to trigger a kernel heap out-of-bounds write. This may lead to privilege escalation, allowing the attacker to gain elevated system access.

Compliance Impact

This vulnerability primarily affects system integrity and access control, which are relevant to compliance with standards like GDPR and HIPAA. A successful exploit could allow privilege escalation, potentially granting unauthorized access to sensitive data. This could violate confidentiality requirements under GDPR and HIPAA, leading to non-compliance if exploited.

Mitigation Strategies

Immediately upgrade your FreeBSD system to a patched version using pkg, freebsd-update, or apply source code patches as described in the advisory. As a temporary workaround, disable core dumps by setting sysctl kern.coredump=0.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58088. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart