{"id":"UBUNTU-CVE-2026-137081","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-12-02T15:17:23.636489084Z","published":"2026-11-25T20:18:00Z","upstream":["CVE-2026-137081"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-137081"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-137081"}],"affected":[{"package":{"name":"flac","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/flac?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1","1.3.0-2","1.3.0-2ubuntu0.14.04.1","1.3.0-2ubuntu0.14.04.1+esm1","1.3.0-2ubuntu0.14.04.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"flac","binary_version":"1.3.0-2ubuntu0.14.04.1+esm2"},{"binary_version":"1.3.0-2ubuntu0.14.04.1+esm2","binary_name":"libflac++6"},{"binary_version":"1.3.0-2ubuntu0.14.04.1+esm2","binary_name":"libflac8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-137081.json"}},{"package":{"name":"flac","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/flac?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-4","1.3.1-4ubuntu0.1~esm1","1.3.1-4ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"flac","binary_version":"1.3.1-4ubuntu0.1~esm2"},{"binary_name":"libflac++6v5","binary_version":"1.3.1-4ubuntu0.1~esm2"},{"binary_name":"libflac8","binary_version":"1.3.1-4ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-137081.json"}},{"package":{"name":"flac","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/flac?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-1","1.3.2-1ubuntu0.1","1.3.2-1ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"flac","binary_version":"1.3.2-1ubuntu0.1+esm1"},{"binary_name":"libflac++6v5","binary_version":"1.3.2-1ubuntu0.1+esm1"},{"binary_name":"libflac8","binary_version":"1.3.2-1ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-137081.json"}},{"package":{"name":"flac","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/flac?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-1","1.3.3-1build1","1.3.3-1ubuntu0.1","1.3.3-1ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"flac","binary_version":"1.3.3-1ubuntu0.2"},{"binary_name":"libflac++6v5","binary_version":"1.3.3-1ubuntu0.2"},{"binary_name":"libflac8","binary_version":"1.3.3-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-137081.json"}},{"package":{"name":"flac","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/flac?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-2","1.3.3-2build1","1.3.3-2build2","1.3.3-2ubuntu0.1","1.3.3-2ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.3-2ubuntu0.2","binary_name":"flac"},{"binary_version":"1.3.3-2ubuntu0.2","binary_name":"libflac++6v5"},{"binary_name":"libflac8","binary_version":"1.3.3-2ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-137081.json"}},{"package":{"name":"flac","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/flac?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3+ds-2ubuntu1","1.4.3+ds-2.1ubuntu1","1.4.3+ds-2.1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"flac","binary_version":"1.4.3+ds-2.1ubuntu2"},{"binary_name":"libflac++10","binary_version":"1.4.3+ds-2.1ubuntu2"},{"binary_name":"libflac12t64","binary_version":"1.4.3+ds-2.1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-137081.json"}},{"package":{"name":"flac","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/flac?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.0+ds-5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.0+ds-5","binary_name":"flac"},{"binary_name":"libflac++11","binary_version":"1.5.0+ds-5"},{"binary_name":"libflac14","binary_version":"1.5.0+ds-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-137081.json"}},{"package":{"name":"flac","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/flac?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.0+ds-2","1.5.0+ds-4","1.5.0+ds-5"],"ecosystem_specific":{"binaries":[{"binary_name":"flac","binary_version":"1.5.0+ds-5"},{"binary_version":"1.5.0+ds-5","binary_name":"libflac++11"},{"binary_name":"libflac14","binary_version":"1.5.0+ds-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-137081.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"CNA"},{"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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}