libchdr — security advisory
dr_libs dr_flac.h version 0.13.3 and earlier (fixed in commits fefced4, 4f5a4cd, and 663239a) contain an uncontrolled memory allocation vulnerability in drflac__read_and_decode_metadata() that allows attackers to trigger excessive memory allocation by supplying crafted PICTURE metadata blocks. Attackers can exploit attacker-controlled mimeLength and descriptionLength fields to cause denial of service through memory exhaustion when processing FLAC streams with metadata callbacks.
- Products
- libchdr
- Affected versions
- 0.0~git20230918.9108f34+dfsg-2, 0.0~git20240929.aaca599+dfsg-1, 0.0~git20250608.8bba774+dfsg-1, 0.0~git20250608.8bba774+dfsg-2, 0.3.0+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-32836
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:59 UTC · Revision 1
Source evidence
dr_libs dr_flac.h version 0.13.3 and earlier (fixed in commits fefced4, 4f5a4cd, and 663239a) contain an uncontrolled memory allocation vulnerability in drflac__read_and_decode_metadata() that allows attackers to trigger excessive memory allocation by supplying crafted PICTURE metadata blocks. Attackers can exploit attacker-controlled mimeLength and descriptionLength fields to cause denial of service through memory exhaustion when processing FLAC streams with metadata callbacks.
osv:UBUNTU-CVE-2026-32836
libchdr
Fixed versions: Not specified
libchdr
Fixed versions: Not specified
libchdr
Fixed versions: Not specified
libchdr
Fixed versions: Not specified
Complete source record
{
"id": "12b5349d1794f79c6a26d76635582792544562d41436dd83d8183940eec40142",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-32836",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-32836",
"summary": "dr_libs dr_flac.h version 0.13.3 and earlier (fixed in commits fefced4, 4f5a4cd, and 663239a) contain an uncontrolled memory allocation vulnerability in drflac__read_and_decode_metadata() that allows attackers to trigger excessive memory allocation by supplying crafted PICTURE metadata blocks. Attackers can exploit attacker-controlled mimeLength and descriptionLength fields to cause denial of service through memory exhaustion when processing FLAC streams with metadata callbacks.",
"evidence": "osv:UBUNTU-CVE-2026-32836",
"products": [
{
"name": {
"value": "libchdr",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20230918.9108f34+dfsg-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libchdr",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20240929.aaca599+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libchdr",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20250608.8bba774+dfsg-2",
"evidence": "/affected/2/versions"
},
{
"value": "0.3.0+dfsg-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "libchdr",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20240929.aaca599+dfsg-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.0~git20250608.8bba774+dfsg-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.0~git20250608.8bba774+dfsg-2",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-32836",
"aliases": [
"UBUNTU-CVE-2026-32836"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libchdr",
"purl": "pkg:deb/ubuntu/libchdr?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.0~git20230918.9108f34+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32836.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libchdr0",
"binary_version": "0.0~git20230918.9108f34+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libchdr",
"purl": "pkg:deb/ubuntu/libchdr?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.0~git20240929.aaca599+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32836.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libchdr0",
"binary_version": "0.0~git20240929.aaca599+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libchdr",
"purl": "pkg:deb/ubuntu/libchdr?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.0~git20250608.8bba774+dfsg-2",
"0.3.0+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32836.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libchdr0",
"binary_version": "0.3.0+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libchdr",
"purl": "pkg:deb/ubuntu/libchdr?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.0~git20240929.aaca599+dfsg-1",
"0.0~git20250608.8bba774+dfsg-1",
"0.0~git20250608.8bba774+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32836.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libchdr0",
"binary_version": "0.0~git20250608.8bba774+dfsg-2"
}
]
}
}
],
"modified": "2026-10-17T12:59:58.706665488Z",
"provider": "osv",
"upstream": [
"CVE-2026-32836"
],
"references": [
"https://ubuntu.com/security/CVE-2026-32836",
"https://www.cve.org/CVERecord?id=CVE-2026-32836",
"https://github.com/mackron/dr_libs/issues/298",
"https://github.com/mackron/dr_libs/commit/663239a3d0460c33bd5b6e5166edcb404e3df676",
"https://github.com/mackron/dr_libs/commit/fefced4a64adfb1a68a2d31d882366e56096dee8",
"https://github.com/mackron/dr_libs/commit/4f5a4cd3b57564d969443c580c75857e039f100a"
]
},
"related_cves": [
{
"value": "CVE-2026-32836",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/2/score"
},
"source_id": "core-osv",
"document_id": 360056,
"published_at": "2026-03-17T20:16:00+00:00"
}