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-107634 Overview
CVE-2026-107634 is a heap out-of-bounds read 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_dataset() and get_next_datum() functions in the metadata parser. Neither function validates dataset and datum sizes against the allocated metadata buffer. An attacker who supplies a crafted BitLocker volume image with inflated dataset or datum sizes can crash Dislocker or disclose adjacent heap memory when the image is opened or mounted. The vulnerability is tracked under [CWE-125: Out-of-bounds Read].
Critical Impact
Processing an attacker-supplied BitLocker image triggers a heap out-of-bounds read, resulting in process crash or disclosure of adjacent heap contents.
Affected Products
- Dislocker through version 0.7.3
- src/metadata/datums.c metadata parser
- src/metadata/metadata.c dataset handler
Discovery Timeline
- 2026-10-08 - CVE-2026-107634 published to NVD
- 2026-10-10 - Last updated in NVD database
Technical Details for CVE-2026-107634
Vulnerability Analysis
Dislocker parses BitLocker metadata by reading a bitlocker_dataset_t structure and iterating over datum entries that follow it. The parser trusts the dataset->size field written in the image and derives a limit pointer from it. Because the field is attacker-controlled, an inflated value shifts the limit beyond the heap allocation that holds the metadata.
Subsequent calls to get_next_datum() walk past the end of that allocation. The parser reads a datum_header_safe_t from out-of-bounds memory and then advances by the attacker-chosen datum size, extending the read further into unrelated heap data. The result is either a crash from touching unmapped pages or disclosure of heap bytes to the caller.
Exploitation requires only that a user open or mount a malicious .vmdk, .vhd, or raw volume image with Dislocker. No elevated privileges are required, but user interaction is needed to invoke the parser on the attacker's file.
Root Cause
The parser performs no bounds check that ties dataset->size or individual datum sizes back to the allocation produced by get_metadata(). The limit pointer is computed as (char*)dataset + dataset->size without clamping to the metadata buffer end. Any value in the on-disk size field is accepted at face value.
Attack Vector
An attacker crafts a BitLocker volume image whose dataset header advertises a size larger than the actual metadata region. The attacker distributes this image via phishing, forensic workflows, shared storage, or supply-chain injection. When an operator runs dislocker or dislocker-fuse against the file, the parser reads beyond the metadata heap buffer. The outcome is a denial of service for the Dislocker process or heap memory disclosure that may leak secrets from the host process.
// Security patch in src/metadata/datums.c
// Bounds the metadata parser to the allocated metadata buffer
bitlocker_dataset_t* dataset = dis_meta->dataset;
void* datum = NULL;
-void* limit = (char*)dataset + dataset->size;
+char* limit = (char*)dataset + dataset->size;
datum_header_safe_t header;
+/*
+ * Defense in depth: get_dataset() already bounds dataset->size against the
+ * metadata buffer holding it, but don't take that field's word for it here.
+ * Recompute the end of that buffer -- the very same way get_metadata()
+ * sized it -- and never walk past it, whatever dataset->size claims.
+ */
+if(dis_meta->information)
+{
+ bitlocker_information_t* information = dis_meta->information;
+ size_t metadata_size = (size_t)(information->version == V_SEVEN ?
+ (size_t)information->size << 4 : information->size);
+ char* metadata_end = (char*)information + metadata_size;
+
+ /* The `< dataset' case catches a pointer wrap-around */
+ if(limit > metadata_end || limit < (char*)dataset)
+ limit = metadata_end;
+}
Source: Dislocker commit 9158e9e
Detection Methods for CVE-2026-107634
Indicators of Compromise
- Unexpected crashes of dislocker, dislocker-fuse, dislocker-metadata, or dislocker-find processes when opening a volume image.
- Core dumps or AddressSanitizer heap-buffer-overflow reports originating in get_dataset() or get_next_datum().
- BitLocker volume images from untrusted sources whose dataset size field exceeds the enclosing metadata region.
Detection Strategies
- Scan forensic image repositories for BitLocker images with malformed metadata by inspecting the bitlocker_dataset_t size field against the containing allocation.
- Run Dislocker builds compiled with AddressSanitizer against untrusted images to surface the out-of-bounds read before production use.
- Inventory hosts running Dislocker 0.7.3 or earlier using software asset management, since no vendor CPE is published.
Monitoring Recommendations
- Alert on segmentation faults and abnormal exits of Dislocker binaries on analyst workstations and forensic VMs.
- Monitor file ingestion workflows that feed BitLocker images into automated decryption or triage pipelines.
- Capture process telemetry showing Dislocker invocations against images sourced from email, shared drives, or external media.
How to Mitigate CVE-2026-107634
Immediate Actions Required
- Upgrade Dislocker beyond 0.7.3 by building from a source tree that includes commit 9158e9e41dd669b360cbc53cc18ccae729b67b48.
- Restrict Dislocker execution to isolated forensic VMs or containers that cannot reach sensitive host memory or network resources.
- Do not open BitLocker images received from untrusted parties until the patched build is deployed.
Patch Information
The upstream fix is published in Dislocker commit 9158e9e. The patch recomputes the metadata buffer end from the bitlocker_information_t header and clamps the parser limit pointer, preventing the out-of-bounds walk even when dataset->size is attacker-controlled. See the VulnCheck advisory for Dislocker for additional context.
Workarounds
- Validate BitLocker images before invoking Dislocker by inspecting the metadata header sizes against the volume layout.
- Process untrusted images only inside sandboxed environments with no access to credentials or sensitive files.
- Replace Dislocker with alternative BitLocker tooling for workflows that must ingest third-party images until patched builds are rolled out.
# Build and install the patched Dislocker from source
git clone https://github.com/Aorimn/dislocker.git
cd dislocker
git checkout 9158e9e41dd669b360cbc53cc18ccae729b67b48
cmake .
make
sudo make install
# Verify the installed binary
dislocker --version
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

