CVE-2026-40025 Sleuth Kit APFS Keybag Parser Out-of-Bounds Read

Medium 4.8 Published Updated

An attacker can craft a malicious APFS disk image to trigger an out-of-bounds read in Sleuth Kit, leading to information disclosure or application crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-40025?

CVE-2026-40025 is a medium-severity vulnerability in sleuthkit, published on 8 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The Sleuth Kit through 4.14.0 contains an out-of-bounds read vulnerability in the APFS filesystem keybag parser where the wrapped_key_parser class follows attacker-controlled length fields without bounds checking, causing heap reads past the allocated buffer. An attacker can craft a malicious APFS disk image that triggers information disclosure or crashes when processed by any Sleuth Kit tool that parses APFS volumes.

Weakness: CWE-125

Which versions are affected by CVE-2026-40025?

It affects 1 product.

Products include Sleuthkit the Sleuth Kit.

How do I fix CVE-2026-40025?

Apply the vendor's patch.

Is CVE-2026-40025 being exploited?

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

Sources

Also known as AZL-82004, DEBIAN-CVE-2026-40025, GHSA-fhjv-wmq6-3c5h, UBUNTU-CVE-2026-40025.

Is CVE-2026-40025 in your software?

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

Check your SBOMs for free