Kernel heap disclosure via unchecked HFS+ length
Published Oct 30, 2025 · Updated Aug 5, 2026
Out-of-bounds read in Linux HFS+ support allows local users to disclose kernel heap data through a crafted catalog key. hfsplus_strcasecmp uses the attacker-controlled HFS+ Unicode length field directly as its comparison-loop bound, reading beyond the catalog-key allocation. An unprivileged local user who can traverse a mounted malicious HFS+ volume can expose adjacent kernel heap data or trigger a kernel oops and filesystem failure.
Summary
What happened
Out-of-bounds read in Linux HFS+ support allows local users to disclose kernel heap data through a crafted catalog key. hfsplus_strcasecmp uses the attacker-controlled HFS+ Unicode length field directly as its comparison-loop bound, reading beyond the catalog-key allocation. An unprivileged local user who can traverse a mounted malicious HFS+ volume can expose adjacent kernel heap data or trigger a kernel oops and filesystem failure.
The record
- CVE
- CVE-2025-40088
- Published
- Oct 30, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 30, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <42520df65bf67189541a425f7d36b0b3e7bd7844
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4bc081ba6c52b0c88c92701e3fbc33c7e2277afb
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4f5ab4a9c6abd8b0d713cc2b7b041bc10d70f241
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <586c75dfd1d265c4150f6529debb85c9d62e101f
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <603158d4efa98a13a746bd586c20f194f4a31ec8
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7ab44236b32ed41eb0636797e8e8e885a2f3b18a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b47a75b6f762321f9eb6f31aab7bce47a37063b7
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ef250c3edd995d7bb5a5e5122ffad1c28a8686eb
- Affected versionversion=2.6.12
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.
Weakness, pattern, technique
No sourced classifications are available.
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