libio-compress-brotli-perl — security advisory
A buffer overflow, as described in CVE-2020-8927, exists in the embedded Brotli library. Versions of IO::Compress::Brotli prior to 0.007 included a version of the brotli library prior to version 1.0.8, where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. It is recommended to update your IO::Compress::Brotli module to 0.007 or later. If one cannot update, we recommend to use the "streaming" API as opposed to the "one-shot" API, and impose chunk size limits.
- Products
- libio-compress-brotli-perl
- Affected versions
- 0.004001-2, 0.004001-2build1, 0.004001-2build2, 0.004001-2build3, 0.004001-2build4, 0.019000-1, 0.019000-1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2020-36846
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:52 UTC · Revision 1
Source evidence
A buffer overflow, as described in CVE-2020-8927, exists in the embedded Brotli library. Versions of IO::Compress::Brotli prior to 0.007 included a version of the brotli library prior to version 1.0.8, where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. It is recommended to update your IO::Compress::Brotli module to 0.007 or later. If one cannot update, we recommend to use the "streaming" API as opposed to the "one-shot" API, and impose chunk size limits.
osv:UBUNTU-CVE-2020-36846
libio-compress-brotli-perl
Fixed versions: Not specified
libio-compress-brotli-perl
Fixed versions: Not specified
libio-compress-brotli-perl
Fixed versions: Not specified
libio-compress-brotli-perl
Fixed versions: Not specified
Complete source record
{
"id": "45e4ffd9352fdd9d6478d1ac4a5fe033c4487dec7f7a2c12759d7719c597e14a",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-36846",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2020-36846",
"summary": "A buffer overflow, as described in CVE-2020-8927, exists in the embedded Brotli library. Versions of IO::Compress::Brotli prior to 0.007 included a version of the brotli library prior to version 1.0.8, where an attacker controlling the input length of a \"one-shot\" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. It is recommended to update your IO::Compress::Brotli module to 0.007 or later. If one cannot update, we recommend to use the \"streaming\" API as opposed to the \"one-shot\" API, and impose chunk size limits.",
"evidence": "osv:UBUNTU-CVE-2020-36846",
"products": [
{
"name": {
"value": "libio-compress-brotli-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.004001-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.004001-2build1",
"evidence": "/affected/0/versions"
},
{
"value": "0.004001-2build2",
"evidence": "/affected/0/versions"
},
{
"value": "0.004001-2build3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libio-compress-brotli-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.004001-2build4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libio-compress-brotli-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.019000-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.019000-1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "libio-compress-brotli-perl",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.004001-2build4",
"evidence": "/affected/3/versions"
},
{
"value": "0.019000-1",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2020-36846",
"aliases": [
"UBUNTU-CVE-2020-36846"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libio-compress-brotli-perl",
"purl": "pkg:deb/ubuntu/libio-compress-brotli-perl?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.004001-2",
"0.004001-2build1",
"0.004001-2build2",
"0.004001-2build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libio-compress-brotli-perl",
"binary_version": "0.004001-2build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libio-compress-brotli-perl",
"purl": "pkg:deb/ubuntu/libio-compress-brotli-perl?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.004001-2build4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libio-compress-brotli-perl",
"binary_version": "0.004001-2build4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libio-compress-brotli-perl",
"purl": "pkg:deb/ubuntu/libio-compress-brotli-perl?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.019000-1",
"0.019000-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libio-compress-brotli-perl",
"binary_version": "0.019000-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libio-compress-brotli-perl",
"purl": "pkg:deb/ubuntu/libio-compress-brotli-perl?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.004001-2build4",
"0.019000-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libio-compress-brotli-perl",
"binary_version": "0.019000-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:14.459204703Z",
"provider": "osv",
"upstream": [
"CVE-2020-36846"
],
"references": [
"https://ubuntu.com/security/CVE-2020-36846",
"https://www.cve.org/CVERecord?id=CVE-2020-36846",
"https://lists.security.metacpan.org/cve-announce/msg/30005245/",
"https://github.com/google/brotli/pull/826",
"https://github.com/timlegge/perl-IO-Compress-Brotli/blob/8b44c83b23bb4658179e1494af4b725a1bc476bc/Changes#L52",
"https://github.com/advisories/GHSA-5v8v-66v8-mwm7",
"https://github.com/google/brotli/commit/223d80cfbec8fd346e32906c732c8ede21f0cea6",
"https://nvd.nist.gov/vuln/detail/CVE-2020-8927"
]
},
"related_cves": [
{
"value": "CVE-2020-36846",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355007,
"published_at": "2025-05-30T01:15:00+00:00"
}