CVE-2026-137081
libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish
CVSS Score
3.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-401 |
| Vendor | xiph.org |
| Product | libflac |
| Published | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for xiph.org libflac
Be the first to know when new low vulnerabilities affecting xiph.org libflac are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Affected Versions
Xiph.Org / libFLAC
1.5.0 โค 1.5.0
References
github.com: https://github.com/xiph/flac/pull/948 github.com: https://github.com/mamedev/mame/issues/16742 github.com: https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L2767 github.com: https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L1280 vulncheck.com: https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish
Credits
Ryan (marconiryan) Ryan (marconiryan) Pu Cheng