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

High 7.4 Published Updated

A race condition in FreeBSD's ELF core dump allows local attackers to trigger a kernel heap overflow, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-58088?

CVE-2026-58088 is a high-severity vulnerability in Freebsd Freebsd, published on 19 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-787, CWE-362

Which versions are affected by CVE-2026-58088?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2026-58088?

No fix has been published for CVE-2026-58088 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-58088 being exploited?

There is no known exploitation of CVE-2026-58088 in the wild and no public exploit code.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-7h55-5jqw-fvcq.

Is CVE-2026-58088 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free