Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
True Audio libtta
Default version status: unaffected
0 to ≤ 2.3affected
References
- https://hackmd.io/@haindpwn/libtta-seek-table-count-overflow-oob-write ↗
- https://github.com/gchudov/libtta/blob/af8dc48ce859e98842ab1a3eec98416d22a5199e/libtta.c#L618 ↗
- https://github.com/gchudov/libtta/blob/af8dc48ce859e98842ab1a3eec98416d22a5199e/libtta.c#L715-L730 ↗
- https://sourceforge.net/projects/tta/ ↗
- https://github.com/gchudov/libtta ↗
- https://www.vulncheck.com/advisories/libtta-through-2.3-stack-out-of-bounds-write-via-zero-channel-count ↗