Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107635 Overview
CVE-2026-107635 is an integer underflow vulnerability in Dislocker through version 0.7.3, a tool used to read BitLocker-encrypted volumes on Linux and macOS. The flaw resides in the get_vmk() and get_fvek() functions within the metadata parsing code. Attackers can craft a malicious BitLocker volume image containing a datum_size smaller than the 36-byte AES-CCM header. When Dislocker processes the volume, subtracting the header size from the undersized datum size wraps the unsigned integer, causing hexdump() to perform an out-of-bounds heap read and crash the process.
Critical Impact
A crafted BitLocker image can trigger an out-of-bounds heap read in Dislocker, causing a crash and potentially leaking adjacent heap memory to attackers with local access.
Affected Products
- Dislocker versions through 0.7.3
- src/metadata/vmk.c metadata parser
- src/metadata/fvek.c metadata parser
Discovery Timeline
- 2026-10-08 - CVE-2026-107635 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-107635
Vulnerability Analysis
Dislocker parses BitLocker metadata structures called datums, each containing a header with a datum_size field and a value_type field. The get_vmk() function processes Volume Master Key datums, while get_fvek() processes Full Volume Encryption Key datums. Both functions compute a payload size by subtracting the fixed header size from datum_size. The pre-patch code relied on get_header_safe(), which only enforces a minimum datum_size of 8 bytes. The AES-CCM datum header is 36 bytes, so a crafted datum_size below 36 causes the subtraction to underflow an unsigned integer. The resulting enormous value is passed to hexdump() and downstream key decryption routines, which read far beyond the allocated heap buffer.
Root Cause
The root cause is an unchecked arithmetic operation classified as [CWE-191] Integer Underflow (Wrap or Wraparound). Neither get_vmk() nor get_fvek() validated that datum_size exceeded header_size before computing the payload length. A secondary issue is that value_type was not bounds-checked against NB_DATUMS_VALUE_TYPES, allowing an out-of-range index into the datum_value_types_prop[] lookup table.
Attack Vector
Exploitation requires local access and user interaction. An attacker supplies a malicious BitLocker volume image, for example on removable media or a mounted disk image, and convinces a user to open it with Dislocker. The parser reads the attacker-controlled datum_size, triggers the underflow, and performs an out-of-bounds heap read. The primary observed effect is a crash, with potential disclosure of adjacent heap memory through debug output.
// Security patch in src/metadata/vmk.c - reject datums smaller than their own type header
hexdump(L_DEBUG, recovery_key, key_size);
dis_printf(L_DEBUG, "==========================================================\n");
+ /*
+ * Validate the datum before anything else, printing included: the printing
+ * routines derive a payload size from datum_size too.
+ *
+ * NOTE: get_header_safe() does not check value_type, so the bound below is
+ * what keeps the datum_value_types_prop[] lookup in range.
+ */
+ if(vmk_datum->header.value_type >= NB_DATUMS_VALUE_TYPES)
+ {
+ dis_printf(
+ L_ERROR,
+ "The VMK datum's value type is out of range: %hu. Abort.\n",
+ vmk_datum->header.value_type
+ );
+ return FALSE;
+ }
header_size = datum_value_types_prop[vmk_datum->header.value_type].size_header;
+ /*
+ * get_header_safe() only enforces a datum_size of at least 8 bytes, which
+ * is less than this datum type's header. Subtracting without checking would
+ * wrap around and hand a huge size down to decrypt_key()
+ */
+ if(vmk_datum->header.datum_size <= header_size)
+ {
+ dis_printf(
Source: Dislocker patch commit 0706462
Detection Methods for CVE-2026-107635
Indicators of Compromise
- Unexpected crashes or segmentation faults in the dislocker or dislocker-fuse processes.
- BitLocker volume images from untrusted sources mounted or processed on analyst workstations.
- Debug output from Dislocker showing abnormally large payload sizes or garbled hex dumps indicating out-of-bounds reads.
Detection Strategies
- Monitor process termination events for dislocker binaries and correlate with recently accessed disk image files.
- Inspect BitLocker metadata offline using scripts that validate each datum's datum_size is greater than its declared header size.
- Flag Dislocker invocations against volume images sourced from email attachments, external drives, or shared storage.
Monitoring Recommendations
- Enable core dump collection on forensic workstations running Dislocker to capture evidence of exploitation attempts.
- Audit shell history and command execution logs for dislocker invocations referencing untrusted image paths.
- Alert when crash telemetry from command-line forensic tools spikes outside of planned analysis windows.
How to Mitigate CVE-2026-107635
Immediate Actions Required
- Update Dislocker to a build that includes commit 0706462db88efe8df88150e4c3e4332b808f4581 or any release later than 0.7.3.
- Restrict Dislocker usage to trusted BitLocker volume images and avoid processing attacker-supplied disk images directly.
- Run Dislocker inside an isolated analysis virtual machine when triaging unknown media.
Patch Information
The upstream fix is published in the Dislocker GitHub repository. The commit adds two validations to both get_vmk() and get_fvek(): a bounds check on value_type against NB_DATUMS_VALUE_TYPES, and a check that datum_size is strictly greater than header_size before performing the subtraction. See the Dislocker patch commit and the VulnCheck security advisory for full technical details.
Workarounds
- Pre-validate BitLocker images with a script that parses each datum header and rejects any datum_size below 36 bytes before invoking Dislocker.
- Confine Dislocker execution to non-privileged users without access to sensitive heap-adjacent data.
- Disable or avoid Dislocker's debug logging (L_DEBUG) paths, which drive the vulnerable hexdump() invocation, when processing untrusted inputs.
# Build Dislocker from source with the fix applied
git clone https://github.com/Aorimn/dislocker.git
cd dislocker
git checkout 0706462db88efe8df88150e4c3e4332b808f4581
mkdir build && cd build
cmake ..
make
sudo make install
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

