An issue was discovered in Freeware Advanced Audio Decoder 2 (FAAD2) 2.8.8. The faad_resetbits function in libfaad/bits.c is affected by a buffer overflow vulnerability. The number of bits to be read is determined by ld->buffer_size - words*4, cast to uint32. If ld->buffer_size - words*4 is negative, a buffer overflow is later performed via getdword_n(&ld->start[words], ld->bytes_left).
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://github.com/knik0/faad2/commit/942c3e0aee748ea6fe97cb2c1aa5893225316174 | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2019/08/msg00033.html | third party advisory mailing list |
https://www.debian.org/security/2019/dsa-4522 | vendor advisory |
https://seclists.org/bugtraq/2019/Sep/28 | mailing list |
https://security.gentoo.org/glsa/202006-17 | vendor advisory |