CVE-2026-137081
libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish
Medium · 4.8
- CVSS
- 4.8
- EPSS
- 0.22% (p8)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- Xiph.Org libFLAC
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Description
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.
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/xiph/flac/pull/948 issue-tracking
- https://github.com/mamedev/mame/issues/16742 issue-tracking
- https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L2767 technical-description
- https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L1280 technical-description
- https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137081.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137081 advisory
- https://github.com/xiph/flac package