Description
Multiple buffer overflows in Free Lossless Audio Codec (FLAC) libFLAC before 1.2.1 allow user-assisted remote attackers to execute arbitrary code via large (1) Metadata Block Size, (2) VORBIS Comment String Size, (3) Picture Metadata MIME-TYPE Size, (4) Picture Description Size, (5) Picture Data Length, (6) Padding Length, and (7) PICTURE Metadata width and height values in a .FLAC file, which result in a heap-based overflow; and large (8) VORBIS Comment String Size Length, (9) Picture MIME-Type, (10) Picture MIME-Type URL, and (11) Picture Description Length values in a .FLAC file, which result in a stack-based overflow. NOTE: some of these issues may overlap CVE-2007-4619.
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 | flac | 1.2.1-1 | — |
| Debian 13 | flac | 1.2.1-1 | — |
| Debian 12 | flac | 1.2.1-1 | — |
| Debian 4.0 | flac | 1.1.2-8 | DSA-1469-1 |
| Debian 3.1 | flac | 1.1.1-5sarge1 | DSA-1469-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | flac +1 | 1.1.2-28.el5_0.1 | RHSA-2007:0975 |
| RHEL 4 | flac +2 | 1.1.0-7.el4_5.2 | RHSA-2007:0975 |
Advisories 2
- RHSA-2007:0975 Red Hat Security Advisory: flac security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1469-1 flac Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-1469 vendor-advisory
- AD20071115 third-party-advisory
- 1018974 vdb-entry
- 3423 third-party-advisory
- 28548 third-party-advisory
- VU#544656 third-party-advisory
- oval:org.mitre.oval:def:10435 vdb-entry signature
- 20071115 EEYE: Multiple Vulnerabilities In .FLAC File Format and Various Media Applications mailing-list