libtheora AVI Parser Heap-Based Out-of-Bounds Read Vulnerability

Vulnerability

A heap-based out-of-bounds read vulnerability has been identified in libtheora, specifically within the AVI parser's avi_parse_input_file() function. This vulnerability arises when the parser processes a malformed AVI file containing a truncated header sub-chunk, lacking proper length validation before executing fixed-offset memory copy operations. A local attacker could exploit this flaw by persuading a user to open the crafted AVI file, potentially leading to a denial-of-service condition by causing the application to crash, or allowing sensitive information to be leaked from the heap.

Impact

Exploitation of this vulnerability causes a heap-based out-of-bounds read, resulting in a segmentation fault or application crash. Additionally, it may lead to unauthorized information disclosure from the heap, such as cryptographic keys or personal identifiable information.

Reproduction

The vulnerability can be reproduced by compiling a proof-of-concept program with AddressSanitizer enabled, which demonstrates the heap-buffer-over-read when the AVI parser processes a truncated header in a crafted AVI file.

Remediation

Users are advised to avoid opening untrusted AVI files and to exercise caution with AVI files from unknown or suspicious sources.

Added: Apr 6, 2026, 10:18 AM
Updated: Apr 6, 2026, 10:18 AM

Vulnerability Rating

Custom Algorithm
spread
6.6
impact
5.0
exploitability
5.6
remediation
7.9
relevance
5.3
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.