CVE-2026-137081
4.8medium
libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish
- Severity
- 4.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| Xiph.Org libFLAC | from 1.5.0 up to 1.5.0 | CVE List |
All scores
| VulnCheck | 4.8medium CVSS:4.0 | 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 |
| VulnCheck | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/xiph/flac/pull/948 | issue-tracking, patch | |
| https://github.com/mamedev/mame/issues/16742 | issue-tracking | |
| https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L2767 | technical-description | |
| https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L1280 | technical-description | |
| https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137081 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-137081 changed 2026-11-30 | Public domain |