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

CVE-2026-112284: libaribcaption Buffer Overflow Vulnerability

CVE-2026-112284 is a global out-of-bounds read flaw in libaribcaption versions 1.1.0 through 1.1.2 that allows attackers to leak data or crash decoding. This post explains its impact, affected versions, 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-112284 Overview

CVE-2026-112284 is an out-of-bounds read vulnerability [CWE-125] in libaribcaption versions 1.1.0 through 1.1.2. The flaw resides in DecoderImpl::HandleGLGR(), which indexes the 78-entry kLatinSpecialTable array without validating the upper bound. Attackers can craft ARIB B24 caption streams that designate the Latin special set using the escape sequence ESC 28 4C followed by bytes in the range 0x6F–0x7E. The out-of-bounds access can disclose adjacent read-only memory or crash the decoder during subtitle rendering.

Critical Impact

Processing a malicious caption stream in a media player or transcoder that uses libaribcaption can leak adjacent memory contents or terminate the decoder process.

Affected Products

  • libaribcaption 1.1.0
  • libaribcaption 1.1.1
  • libaribcaption 1.1.2

Discovery Timeline

  • 2026-10-19 - CVE-2026-112284 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112284

Vulnerability Analysis

The vulnerability affects the ARIB STD-B24 caption decoder shipped with libaribcaption. When a caption stream designates the Latin special character set via ESC 28 4C, subsequent GL/GR bytes are routed to DecoderImpl::HandleGLGR(). The handler maps the incoming byte into kLatinSpecialTable, a lookup table defined in src/decoder/b24_conv_tables.hpp with only 78 valid entries. Bytes between 0x6F and 0x7E compute an index past the end of the table, producing a read from adjacent .rodata memory. The leaked data is then written into the rendered subtitle output or triggers a decoder abort if the read crosses into unmapped memory.

Root Cause

The root cause is a missing upper-bound check combined with an incorrect table offset. The patch commit 9917cb3 corrects the table layout by prepending the sixteen missing entries that were previously assumed to exist implicitly. Without those entries, the decoder's arithmetic translation from character code to table index produced an off-by-16 read for the affected byte range.

Attack Vector

Exploitation requires a local user to open a crafted media file or caption stream in an application that links libaribcaption. User interaction is required because the victim must initiate playback or transcoding. No elevated privileges are needed. The impact is limited to information disclosure of adjacent read-only data or a denial-of-service through decoder crash; memory writes are not possible through this flaw.

text
 };
 
 inline constexpr uint32_t kLatinSpecialTable[] = {
-    0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021,
-    0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021,
     0x266a, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021,
     0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x0021, 0x00a4,
     0x00a6, 0x00a8, 0x00b4, 0x00b8, 0x00bc, 0x00bd, 0x00be, 0x0021,

Source: GitHub Commit 9917cb3 - Fix kLatinSpecialTable offset

The diff shows the fix restores sixteen leading entries so that the arithmetic index into kLatinSpecialTable lands within bounds for all valid Latin special byte values.

Detection Methods for CVE-2026-112284

Indicators of Compromise

  • ARIB B24 caption streams containing the escape sequence ESC 28 4C (0x1B 0x28 0x4C) followed by GL/GR bytes in the range 0x6F–0x7E.
  • Unexpected crashes or SIGSEGV terminations in media applications that link libaribcaption 1.1.0 through 1.1.2.
  • Rendered subtitle glyphs containing unexpected or garbled Unicode code points that do not correspond to defined ARIB symbols.

Detection Strategies

  • Inventory software bills of materials (SBOMs) for the libaribcaption dependency and flag any instance pinned to 1.1.0, 1.1.1, or 1.1.2.
  • Instrument caption decoder paths with AddressSanitizer (ASan) in test environments to surface out-of-bounds reads against kLatinSpecialTable.
  • Deploy file-content inspection on ingested video assets to flag ARIB caption payloads carrying the Latin special designation sequence.

Monitoring Recommendations

  • Monitor process telemetry for abnormal termination of media players, transcoders, and broadcast ingest pipelines that handle ARIB subtitles.
  • Collect and review core dumps from caption decoding workloads to identify repeated faults inside DecoderImpl::HandleGLGR().
  • Track outbound data flows from transcoding services for anomalies that could indicate leaked memory being embedded in rendered captions.

How to Mitigate CVE-2026-112284

Immediate Actions Required

  • Upgrade libaribcaption to the patched release containing commit 9917cb3 or later.
  • Rebuild and redeploy downstream applications that statically link or vendor the affected libaribcaption versions.
  • Restrict ingestion of untrusted ARIB B24 caption streams until the patched library is in place.

Patch Information

The upstream fix is published as commit 9917cb3 in the xqq/libaribcaption repository, which restores the missing leading entries in kLatinSpecialTable within src/decoder/b24_conv_tables.hpp. Technical analysis is available in the HackMD write-up and the VulnCheck advisory.

Workarounds

  • Disable ARIB B24 caption decoding in applications where subtitles are not required.
  • Pre-filter media files to strip caption tracks that contain the ESC 28 4C Latin special designation sequence before processing.
  • Isolate decoding workloads in sandboxed processes with reduced memory mappings so that any out-of-bounds read terminates the sandbox rather than the host application.
bash
# Verify installed libaribcaption version and rebuild from patched source
pkg-config --modversion libaribcaption
git clone https://github.com/xqq/libaribcaption.git
cd libaribcaption
git checkout 9917cb311c93d884cb820d122911a211042da26c
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
sudo cmake --install build

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.