# CVE-2026-137081: libFLAC 1.5.0 Memory Leak via FLAC\_\_stream\_encoder\_finish

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-25 · Modified: 2026-11-30
- Aliases: UBUNTU-CVE-2026-137081, DEBIAN-CVE-2026-137081
- Record: https://cvemate.com/vulnerability/CVE-2026-137081 · JSON: https://cvemate.com/vulnerability/CVE-2026-137081/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v4.0, CVE.org) 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
- EPSS: 0.223%, percentile 13.764%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian flac (Debian): All versions (No fix recorded)
- ubuntu flac (Ubuntu): All versions (No fix recorded)
- xiph.org libflac: 1.5.0

## References

- <https://github.com/xiph/flac/pull/948>
- <https://github.com/mamedev/mame/issues/16742>
- <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>
- <https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish>
- <https://ubuntu.com/security/CVE-2026-137081>
- <https://www.cve.org/CVERecord?id=CVE-2026-137081>
- <https://security-tracker.debian.org/tracker/CVE-2026-137081>

---

Data as of 2026-12-05T09:54:23.740Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
