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.
Metrics
CVSS 3.1 3.3/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Xiph.Org | libFLAC | >= 1.5.0, <= 1.5.0 |
References
- https://github.com/mamedev/mame/issues/16742
- https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L1280
- https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L2767
- https://github.com/xiph/flac/pull/948
- https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish
Timeline
- Published
- Nov 25, 2026
- Last modified
- Nov 30, 2026
- NVD status
- Received