CVE-2026-145363 in libdca
Summary
by MITRE • 12/06/2026
VideoLAN libdca through 0.0.7 contains an out-of-bounds read vulnerability in bitstream_fill_current() because the bitstream reader lacks end-of-buffer tracking. Attackers can supply a crafted DTS frame whose header fields demand excess bits, causing heap over-reads in dca_subframe_header() and dca_block() that crash the decoder.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 12/06/2026
The vulnerability identified in VideoLAN libdca versions through 0.0.7 represents a critical memory safety flaw rooted in improper input validation within the digital audio codec processing pipeline. Specifically, the defect resides in the bitstream_fill_current function, which is responsible for managing the reading of bits from the incoming data stream during the decoding process. The core technical failure is the absence of end-of-buffer tracking mechanisms. In a robust implementation, any reader component must strictly verify that requested read operations do not exceed the boundaries of the allocated memory buffer. Without this safeguard, the decoder proceeds to access memory locations beyond the intended limits when processing malformed input data.
The operational trigger for this vulnerability involves an attacker supplying a crafted DTS frame where specific header fields are manipulated to demand more bits than are actually available in the provided buffer. When libdca attempts to satisfy these excessive bit requests, it initiates sequential read operations that traverse beyond the allocated heap memory region. This results in out-of-bounds reads within critical decoding functions such as dca_subframe_header and dca_block. These functions rely on accurate data retrieval from the stream to reconstruct audio samples correctly; however, when they encounter invalid or non-existent memory addresses due to the buffer overflow condition, the integrity of the application's state is compromised.
The immediate impact of this vulnerability is a denial of service characterized by application crashes. When the decoder attempts to access unmapped or protected memory pages during these out-of-bounds reads, it triggers segmentation faults or similar fatal exceptions that terminate the decoding process abruptly. While primarily resulting in instability and crash scenarios for local users processing untrusted media files, such heap over-reads can potentially expose sensitive information residing in adjacent memory regions if an attacker can carefully craft inputs to leak data before the application terminates. This aligns with CWE-125, which classifies out-of-bounds read vulnerabilities that allow access to unintended memory locations.
From a threat modeling perspective, this vulnerability facilitates exploitation through maliciously crafted media files delivered via various vectors including email attachments, web uploads, or direct file sharing. The attack pattern corresponds to ATT&CK technique T1068 Exploitation for Privilege Escalation if the crash leads to further memory corruption leading to code execution, though in its current described state it primarily supports Denial of Service (T1499). Security practitioners should prioritize patching libdca to versions newer than 0.0.7 where these boundary checks have been implemented. Additionally, organizations deploying this library should implement input sanitization layers and utilize fuzz testing methodologies to detect similar parsing errors in other components of the multimedia stack before they can be exploited by adversaries seeking to disrupt services or potentially escalate privileges through subsequent exploitation chains involving heap corruption.