{"id":"CVE-2026-137081","summary":"libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish","details":"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.","modified":"2026-11-25T21:01:50.749529061Z","published":"2026-11-25T19:32:53.521Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137081.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-401"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137081.json"},{"type":"REPORT","url":"https://github.com/mamedev/mame/issues/16742"},{"type":"PACKAGE","url":"https://github.com/xiph/flac"},{"type":"ARTICLE","url":"https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L1280"},{"type":"ARTICLE","url":"https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L2767"},{"type":"FIX","url":"https://github.com/xiph/flac/pull/948"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137081"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xiph/flac","events":[{"introduced":"1507800de4b70e21be71f38caa0d9079d0bc6e45"},{"last_affected":"1507800de4b70e21be71f38caa0d9079d0bc6e45"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.5.0"},{"last_affected":"1.5.0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"}]}}],"versions":["1.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137081.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}