Description
There is a stack-based buffer underflow in the third instance of the calculate_gain function in libfaad/sbr_hfadj.c in Freeware Advanced Audio Decoder 2 (FAAD2) 2.8.8. A crafted input will lead to a denial of service or possibly unspecified other impact because limiting the additional noise energy level is mishandled for the G_max <= G case.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | faad2 | 2.8.8-2 | — |
| Debian 13 | faad2 | 2.8.8-2 | — |
| Debian 12 | faad2 | 2.8.8-2 | — |
| Debian 9 | faad2 | 2.8.0~cvs20161113-1+deb9u2 | DSA-4522-1 |
| Debian 8 | faad2 | 2.7-8+deb8u2 | DLA-1791-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | faad2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | faad2 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | faad2 | 2.7-8+deb8u3build0.14.04.1~esm1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | faad2 | 2.11.2-2.1 | openSUSE-SU-2025:15214-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | faad2 | 2.9.0-r0 | — |
| Alpine v3.23 | faad2 | 2.9.0-r0 | — |
| Alpine v3.22 | faad2 | 2.9.0-r0 | — |
| Alpine v3.21 | faad2 | 2.9.0-r0 | — |
| Alpine v3.20 | faad2 | 2.9.0-r0 | — |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | faad2 | 2.9.0-r0 | — |
| Alpine v3.18 | faad2 | 2.9.0-r0 | — |
| Alpine v3.17 | faad2 | 2.9.0-r0 | — |
| Alpine v3.16 | faad2 | 2.9.0-r0 | — |
| Alpine v3.15 | faad2 | 2.9.0-r0 | — |
| Alpine v3.14 | faad2 | 2.9.0-r0 | — |
| Alpine v3.13 | faad2 | 2.9.0-r0 | — |
| Alpine v3.12 | faad2 | 2.9.0-r0 | — |
| Alpine v3.11 | faad2 | 2.9.0-r0 | — |
| Alpine v3.10 | faad2 | 2.9.0-r0 | — |
| Alpine v3.9 | faad2 | 2.9.0-r0 | — |
| Alpine v3.8 | faad2 | 2.9.0-r0 | — |
| Alpine v3.7 | faad2 | 2.9.0-r0 | — |
Advisories 3
- openSUSE-SU-2025:15214-1 faad2-2.11.2-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-4522-1 faad2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1791-1 faad2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/knik0/faad2/issues/21
- [debian-lts-announce] 20190519 [SECURITY] [DLA 1791-1] faad2 security update mailing-list
- DSA-4522 vendor-advisory
- 20190916 [SECURITY] [DSA 4522-1] faad2 security update mailing-list
- GLSA-202006-17 vendor-advisory