Read the docs

Memory leak in Xiph.Org libFLAC stream encoder finish

Priority LOW 21CWE-401Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-401.

Summary

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, a missing release of memory (CWE-401). A local attacker without privileges can submit many audio streams to a long-running service that reuses one encoder, leaking at least 32 KiB per stream and causing memory exhaustion.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00223 7th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Xiph.OrglibFLAC1.5.0 – 1.5.0—No fix listedCNA
  • libFLAC VendorXiph.Org Affected 1.5.0 – 1.5.0 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for libFLAC.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-137081
  2. 2026-11-25 Alias added: GHSA-c3q4-cvhq-4qmj
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2017-10728 Xiph.Org libvorbis 1.3.5 allows Remote Code Execution upon freeing uninitialized memory… CVSS 3.1CRITICAL 9.8
  • TI-2008-01367 Integer overflow in a certain quantvals and quantlist calculation in Xiph.org libvorbis… CVSS 2.0HIGH 9.3
  • TI-2017-10315 The bark_noise_hybridmp function in psy.c in Xiph.Org libvorbis 1.3.5 allows remote… CVSS 3.1HIGH 8.8
  • TI-2018-07358 mapping0_forward in mapping0.c in Xiph.Org libvorbis 1.3.6 does not validate the number… CVSS 3.1HIGH 8.8
  • TI-2008-01366 Integer overflow in residue partition value (aka partvals) evaluation in Xiph.org… CVSS 2.0MEDIUM 6.8
  • TI-2018-07359 bark_noise_hybridmp in psy.c in Xiph.Org libvorbis 1.3.6 has a stack-based buffer over-read. CVSS 3.1HIGH 7.5
See all 15 →

Sources