GHSA-c3q4-cvhq-4qmjMediumCVSS 3.3
Xiph.Org libFLAC 1.5.0 contains a memory leak in FLAC__stream_encoder_finish() because free_()...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-137081
- https://github.com/mamedev/mame/issues/16742
- https://github.com/xiph/flac/pull/948
- 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://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish
- https://github.com/advisories/GHSA-c3q4-cvhq-4qmj