# CVE-2026-137081: libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-25T19:32:53.521Z
- Modified: 2026-11-30T20:17:50.350Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Xiph.Org libFLAC: from 1.5.0 up to 1.5.0

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `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: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## 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

- CVE List: [CVE-2026-137081](https://www.cve.org/CVERecord?id=CVE-2026-137081), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-137081](https://nvd.nist.gov/vuln/detail/CVE-2026-137081), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-137081 · Whole record: https://cve.day/CVE-2026-137081.json · Rebuilt by cve.day 2026-11-30T20:32:15.429Z
