CVE-2026-137081
libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish
4.8
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| libflac | xiph.org | ≤1.5.0 | — | CVE.org |