Memory disclosure and process crash via realloc over-read
Published Jun 19, 2024 · Updated May 11, 2026
Out-of-bounds read in Linux nolibc realloc() allows local users to disclose memory or crash a nolibc-linked process. The function passes heap->len to memcpy() rather than the caller allocation length, copying a heap-header-sized region beyond the original allocation. Exploitation requires local execution of a program built with the affected nolibc header and a realloc() call on a managed allocation.
Summary
What happened
Out-of-bounds read in Linux nolibc realloc() allows local users to disclose memory or crash a nolibc-linked process. The function passes heap->len to memcpy() rather than the caller allocation length, copying a heap-header-sized region beyond the original allocation. Exploitation requires local execution of a program built with the affected nolibc header and a realloc() call on a managed allocation.
The record
- CVE
- CVE-2024-38585
- Published
- Jun 19, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125, T1005
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 19, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0e0ff638400be8f497a35b51a4751fd823f6bd6a <4e6f225aefeb712cdb870176b6621f02cf235b8c
- Affected versionversion=0e0ff638400be8f497a35b51a4751fd823f6bd6a <5996b2b2dac739f2a27da13de8eee5b85b2550b3
- Affected versionversion=0e0ff638400be8f497a35b51a4751fd823f6bd6a <791f4641142e2aced85de082e5783b4fb0b977c2
- Affected versionversion=0e0ff638400be8f497a35b51a4751fd823f6bd6a <8019d3dd921f39a237a9fab6d2ce716bfac0f983
- Affected versionversion=0e0ff638400be8f497a35b51a4751fd823f6bd6a <f678c3c336559cf3255a32153e9a17c1be4e7c15
- Affected versionversion=5.19
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo