---
id: CVE-2026-112012
title: libtta through 2.3 Stack Out-of-Bounds Write via Zero Channel Count
summary: >-
  libtta through 2.3 contains a stack out-of-bounds read and write vulnerability
  in tta_decoder_process_stream() and tta_decoder_process_frame() because header
  checks never reject a zero channel count. Attackers can supply a crafted .tta
  f…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L'
cvssSource: cna
cwe:
  - CWE-787
vendor: True Audio
product: libtta
affected:
  - libtta <= 2.3
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T11:38:34.029Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112012'
references:
  - url: 'https://hackmd.io/@haindpwn/libtta-seek-table-count-overflow-oob-write'
  - url: >-
      https://github.com/gchudov/libtta/blob/af8dc48ce859e98842ab1a3eec98416d22a5199e/libtta.c#L618
  - url: >-
      https://github.com/gchudov/libtta/blob/af8dc48ce859e98842ab1a3eec98416d22a5199e/libtta.c#L715-L730
  - url: 'https://sourceforge.net/projects/tta/'
  - url: 'https://github.com/gchudov/libtta'
  - url: >-
      https://www.vulncheck.com/advisories/libtta-through-2.3-stack-out-of-bounds-write-via-zero-channel-count
    label: >-
      VulnCheck Advisory: libtta through 2.3 Stack Out-of-Bounds Write via Zero
      Channel Count
tags:
  - cve.org
ingestedAt: '2026-10-18T11:40:26.621Z'
---

## Overview

libtta through 2.3 contains a stack out-of-bounds read and write vulnerability in tta_decoder_process_stream() and tta_decoder_process_frame() because header checks never reject a zero channel count. Attackers can supply a crafted .tta file declaring zero channels so decorrelation accesses cache[-1] with stream-derived values, corrupting stack memory in decoding applications.

## Affected

- `libtta <= 2.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
