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

CVE-2026-112013: libtta Divide-by-Zero DoS Vulnerability

CVE-2026-112013 is a divide-by-zero denial of service vulnerability in libtta through version 2.3 that crashes applications via crafted TTA files. This article covers technical details, affected versions, and mitigation.

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

CVE-2026-112013 is a divide-by-zero vulnerability [CWE-369] in libtta through version 2.3. The flaw resides in the tta_decoder_init_get_info() function, which fails to validate the sample rate field parsed from a True Audio (.tta) file header. An attacker who crafts a .tta file containing a zero sample rate, along with a recomputed header CRC32, can trigger a SIGFPE signal and crash any application linked against the library. The bundled tta console tool is directly affected. Exploitation requires local user interaction to open the malicious file.

Critical Impact

Processing an attacker-supplied .tta file crashes the host application through an unhandled floating-point exception in the decoder initialization path.

Affected Products

  • libtta through version 2.3
  • The bundled tta console decoder tool
  • Any downstream application linking against vulnerable libtta builds

Discovery Timeline

  • 2026-10-18 - CVE-2026-112013 published to the National Vulnerability Database
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112013

Vulnerability Analysis

The True Audio (TTA) lossless codec stores stream metadata, including sample rate, in a fixed-size header protected by a CRC32 checksum. The decoder initialization routine tta_decoder_init_get_info() parses this header and uses the sample rate as a divisor when computing framing and buffer parameters. The routine does not reject a sample rate of zero before performing the division.

When the division executes with a zero divisor, the x86/x64 FPU raises a SIGFPE and the operating system terminates the process. The impact is limited to availability of the consuming application: there is no memory corruption or code execution path through this specific defect. However, applications that batch-process untrusted audio files, such as media servers, transcoding pipelines, and tag editors, can be crashed repeatedly by a single malformed input.

Root Cause

The root cause is missing input validation on a header field used in arithmetic. The decoder trusts any sample rate value whose containing header passes CRC32 verification. Because CRC32 is a non-cryptographic integrity check, an attacker can freely modify the sample rate to zero and recompute a valid CRC, bypassing the only guard present in the parsing path.

Attack Vector

An attacker crafts a .tta file with the sample rate field set to zero and a recomputed header CRC32. The victim opens the file with any application that uses libtta, including the shipped tta tool. The tta_decoder_init_get_info() call executes the unguarded division, raises SIGFPE, and the process terminates. Exploitation is local and requires user interaction to supply or open the file. See the VulnCheck advisory and the vulnerable source lines in libtta.c for the exact defect location.

Detection Methods for CVE-2026-112013

Indicators of Compromise

  • Process crashes with signal SIGFPE (exit status 136 on Linux) originating from a binary that links libtta.
  • Core dumps whose faulting frame resolves to tta_decoder_init_get_info inside libtta.so or a statically linked equivalent.
  • .tta files with a header sample rate field of 0x00000000 and a valid header CRC32.

Detection Strategies

  • Scan file repositories and ingest pipelines for .tta samples whose parsed sample rate equals zero.
  • Alert on repeated abnormal terminations of media processing services that correlate with newly uploaded or received audio files.
  • Instrument fuzzing or pre-ingest validation that rejects TTA headers failing sanity bounds on sample rate, channel count, and bits-per-sample.

Monitoring Recommendations

  • Collect application crash telemetry (systemd-coredump, Windows Error Reporting) and route it to a central analytics tier for review.
  • Monitor transcoding and media server workers for unusual restart loops that may indicate repeated crash-triggering input.
  • Track inbound file uploads whose MIME type or magic bytes indicate TTA content for correlation with downstream service failures.

How to Mitigate CVE-2026-112013

Immediate Actions Required

  • Inventory all systems and applications that bundle or link libtta version 2.3 or earlier.
  • Restrict acceptance of .tta files from untrusted sources in automated pipelines until a fixed library is available.
  • Isolate media-processing workers so a crash does not disrupt the broader service, and configure supervised restart with rate limiting.

Patch Information

No upstream fixed version is referenced in the advisory at publication time. Monitor the libtta GitHub repository and the SourceForge project page for updates. Downstream distributors should carry a local patch that validates the sample rate (and other header-derived divisors) are non-zero before use.

Workarounds

  • Add a pre-parser that rejects any .tta file whose header sample rate equals zero before invoking tta_decoder_init_get_info().
  • Wrap decoder invocations in a child process so a SIGFPE terminates only the sandboxed worker, not the host application.
  • Install a SIGFPE handler in long-running services that logs the offending file path and returns an error to the caller rather than aborting.
bash
# Example header sanity check before invoking libtta
xxd -s 18 -l 4 suspect.tta | awk '{print $2$3}' | \
  grep -q '^00000000$' && echo "REJECT: zero sample rate in suspect.tta"

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.