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.
https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish
https://github.com/xiph/flac/pull/948
https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L2767
https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L1280
Published: 2026-11-25
Updated: 2026-11-25
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 3.3
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Severity: Low
Base Score: 4.8
Vector: 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
Severity: Medium
EPSS: 0.00223