{"id":"CVE-2026-137081","state":"PUBLISHED","title":"libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish","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.","publishedAt":"2026-11-25T19:32:53.521Z","updatedAt":"2026-11-25T19:32:53.521Z","severity":{"score":4.8,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Xiph.Org libFLAC"],"affected":[{"vendor":"Xiph.Org","product":"libFLAC","packageURL":"pkg:github/xiph/flac","defaultStatus":"unaffected","versions":[{"version":"1.5.0","status":"affected","lessThanOrEqual":"1.5.0","versionType":"semver"}],"repo":"https://github.com/xiph/flac"}],"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"],"weaknesses":["CWE-401"],"ingestedAt":"2026-11-25T19:40:05.749Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/137xxx/CVE-2026-137081.json","commit":"7fb2fe68b486b39133abf360e3484bf7fdddf2e4","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-137081","state":"PUBLISHED","datePublished":"2026-11-25T19:32:53.521Z","dateUpdated":"2026-11-25T19:32:53.521Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-25T17:56:26.195Z"},"containers":{"cna":{"title":"libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish","descriptions":[{"lang":"en","value":"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":[{"vendor":"Xiph.Org","product":"libFLAC","packageURL":"pkg:github/xiph/flac","defaultStatus":"unaffected","versions":[{"version":"1.5.0","status":"affected","lessThanOrEqual":"1.5.0","versionType":"semver"}],"repo":"https://github.com/xiph/flac"}],"references":[{"url":"https://github.com/xiph/flac/pull/948","tags":["issue-tracking","patch"]},{"url":"https://github.com/mamedev/mame/issues/16742","tags":["issue-tracking"]},{"url":"https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L2767","tags":["technical-description"]},{"url":"https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L1280","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish","name":"VulnCheck Advisory: libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":3.3,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-401","lang":"en","description":"Missing Release of Memory after Effective Lifetime","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-25T19:32:53.521Z"},"datePublic":"2026-11-11T00:00:00.000Z","credits":[{"lang":"en","value":"Ryan (marconiryan)","type":"finder"},{"lang":"en","value":"Ryan (marconiryan)","type":"remediation developer"},{"lang":"en","value":"Pu Cheng","type":"analyst"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}