Memory leak in Xiph.Org libFLAC stream encoder finish
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-401.
Summary
Xiph.Org libFLAC 1.5.0 contains a memory leak in FLAC__stream_encoder_finish() because free_() never releases the main thread task's frame bit writer buffer, a missing release of memory (CWE-401). A local attacker without privileges can submit many audio streams to a long-running service that reuses one encoder, leaking at least 32 KiB per stream and causing memory exhaustion.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
Xiph.Org libFLAC 1.5.0 contains a memory leak in FLAC__stream_encoder_finish() because free_() never releases the main thread task's frame bit writer buffer. Attackers submitting many audio streams to a long-running service that reuses one encoder can leak at least 32 KiB per stream, causing memory exhaustion.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for libFLAC.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Timeline
- 2026-11-25 Threatist record created from CVE-2026-137081
- 2026-11-25 Alias added: GHSA-c3q4-cvhq-4qmj
- 2026-11-30 CISA SSVC decision points changed
References
More Xiph.Org vulnerabilities
- TI-2017-10728 Xiph.Org libvorbis 1.3.5 allows Remote Code Execution upon freeing uninitialized memory… CVSS 3.1CRITICAL 9.8
- TI-2008-01367 Integer overflow in a certain quantvals and quantlist calculation in Xiph.org libvorbis… CVSS 2.0HIGH 9.3
- TI-2017-10315 The bark_noise_hybridmp function in psy.c in Xiph.Org libvorbis 1.3.5 allows remote… CVSS 3.1HIGH 8.8
- TI-2018-07358 mapping0_forward in mapping0.c in Xiph.Org libvorbis 1.3.6 does not validate the number… CVSS 3.1HIGH 8.8
- TI-2008-01366 Integer overflow in residue partition value (aka partvals) evaluation in Xiph.org… CVSS 2.0MEDIUM 6.8
- TI-2018-07359 bark_noise_hybridmp in psy.c in Xiph.Org libvorbis 1.3.6 has a stack-based buffer over-read. CVSS 3.1HIGH 7.5
Sources
- CVE-2026-137081 · CVE Program
- CVE-2026-137081 · NVD
- FIRST EPSS
- GHSA-c3q4-cvhq-4qmj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences