Skip to main content
Vulnerability Database/CVE-2026-112281

CVE-2026-112281: libaribb24 Buffer Overflow Vulnerability

CVE-2026-112281 is a stack-based buffer overflow in libaribb24 that allows attackers to crash applications like FFmpeg or VLC. This post explains its technical details, affected versions, impact, and mitigation steps.

Published:

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-112281 Overview

CVE-2026-112281 is a stack-based buffer overflow [CWE-121] in libaribb24 (aribb24) through version 1.0.3. The flaw resides in the decoder_handle_csi() function inside src/decoder.c. The decoder writes Control Sequence Introducer (CSI) parameter bytes into a fixed 256-entry stack array without bounds checking. An attacker who supplies more than 256 CSI parameter bytes in an ARIB caption statement overflows the array and can corrupt the stack return address. Media files or broadcast streams processed by downstream consumers such as FFmpeg or VLC trigger the condition during caption decoding.

Critical Impact

Maliciously crafted media files or broadcast streams can crash FFmpeg or VLC and potentially corrupt the stack return address during ARIB caption decoding.

Affected Products

  • libaribb24 (aribb24) versions up to and including 1.0.3
  • FFmpeg builds that link libaribb24 for ARIB caption decoding
  • VLC media player builds that link libaribb24 for ARIB caption decoding

Discovery Timeline

  • 2026-10-19 - CVE-2026-112281 published to the National Vulnerability Database (NVD)
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112281

Vulnerability Analysis

The decoder_handle_csi() function parses ARIB STD-B24 Control Sequence Introducer sequences from caption data units. During parsing, the function accumulates CSI parameter bytes into a stack-allocated buffer sized for 256 entries. The code does not verify the parameter count against this bound before writing. When an attacker-controlled stream contains a CSI introducer followed by more than 256 parameter bytes, the write index advances past the end of the buffer and clobbers adjacent stack memory, including the saved return address.

The vulnerability activates during normal caption decoding, so any application that feeds untrusted media or broadcast streams to libaribb24 is exposed. Successful exploitation requires user interaction, such as opening a crafted file or tuning to a hostile stream. Memory protections like stack canaries, ASLR, and non-executable stacks reduce the likelihood of reliable code execution, but denial of service through process crash remains straightforward.

Root Cause

The root cause is missing bounds enforcement on the CSI parameter accumulator in src/decoder.c. The decoder trusts the length encoded in the caption data unit rather than clamping writes to the fixed 256-byte stack buffer, violating [CWE-121].

Attack Vector

Attack delivery is local and requires user interaction. An attacker crafts a media file or broadcast transport stream containing an ARIB caption statement with a CSI introducer and more than 256 parameter bytes. When a victim opens the file in FFmpeg, VLC, or another consumer linking libaribb24, the decoder overflows its stack buffer. Technical analysis is documented in the VulnCheck ARIBB24 Buffer Overflow Advisory and the HackMD ARIBB24 OOB Write Analysis.

No verified public exploit code is available. See the GitHub ARIBB24 Decoder Code for the vulnerable function.

Detection Methods for CVE-2026-112281

Indicators of Compromise

  • Unexpected crashes of ffmpeg, ffplay, vlc, or other media processes with signals indicating stack corruption (SIGSEGV, SIGABRT with stack-protector messages).
  • Core dumps whose faulting frame resolves to decoder_handle_csi within libaribb24.
  • Media files or MPEG-TS captures containing ARIB caption data units with CSI parameter runs exceeding 256 bytes.

Detection Strategies

  • Scan ingested media and transport streams for ARIB caption data units whose CSI parameter length field exceeds 256.
  • Enable AddressSanitizer in test builds of FFmpeg and VLC to catch out-of-bounds writes in decoder_handle_csi() during media fuzzing.
  • Monitor crash telemetry on workstations and transcoding servers for repeated faults in libaribb24.

Monitoring Recommendations

  • Forward application crash events and core dump metadata to a central log platform and alert on faults attributing to libaribb24 symbols.
  • Track process execution and media-handling activity on endpoints that routinely open untrusted broadcast or video content.
  • Correlate media file provenance (email, download, broadcast ingest) with subsequent crashes of linked media applications.

How to Mitigate CVE-2026-112281

Immediate Actions Required

  • Inventory systems and applications that bundle or dynamically link libaribb24 at version 1.0.3 or earlier.
  • Restrict opening of untrusted ARIB-captioned media files and broadcast streams until a fixed library build is deployed.
  • Rebuild downstream consumers such as FFmpeg and VLC against a patched libaribb24 once upstream publishes a fix.

Patch Information

At publication time no upstream fixed release of libaribb24 is referenced in the NVD entry. Monitor the upstream aribb24 repository and distribution security trackers for patched versions, and consult the VulnCheck advisory for update status.

Workarounds

  • Disable ARIB caption decoding in FFmpeg and VLC configurations where the feature is not required.
  • Pre-filter incoming MPEG-TS and media files to reject caption data units with CSI parameter sequences longer than 256 bytes.
  • Run media decoding workloads in sandboxed or containerized environments with seccomp and non-writable stack protections to limit crash impact.
bash
# Example: identify binaries linking libaribb24 on Linux hosts
ldconfig -p | grep -i aribb24
for bin in /usr/bin/ffmpeg /usr/bin/ffplay /usr/bin/vlc; do
  [ -x "$bin" ] && ldd "$bin" 2>/dev/null | grep -i aribb24 && echo "  ^ $bin links libaribb24"
done

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.