HighFix available
libcommons-compress-java — security advisory
When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.
- Products
- libcommons-compress-java
- Affected versions
- Not specified
- Fixed versions
- 1.21-1
- CVEs
- CVE-2021-35517
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 11:08 UTC · Revision 1
Source evidence
When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.
osv:DEBIAN-CVE-2021-35517
libcommons-compress-java
Fixed versions: 1.21-1
libcommons-compress-java
Fixed versions: 1.21-1
libcommons-compress-java
Fixed versions: 1.21-1
Complete source record
{
"id": "52042c6db98c9b0856d61bfdc21df41c1645da5876c409383afb63315ae0a620",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-35517",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-35517",
"summary": "When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.",
"evidence": "osv:DEBIAN-CVE-2021-35517",
"products": [
{
"name": {
"value": "libcommons-compress-java",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.21-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libcommons-compress-java",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.21-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libcommons-compress-java",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.21-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2021-35517",
"aliases": [
"DEBIAN-CVE-2021-35517"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.21-1"
}
]
}
],
"package": {
"name": "libcommons-compress-java",
"purl": "pkg:deb/debian/libcommons-compress-java?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-35517.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.21-1"
}
]
}
],
"package": {
"name": "libcommons-compress-java",
"purl": "pkg:deb/debian/libcommons-compress-java?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-35517.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.21-1"
}
]
}
],
"package": {
"name": "libcommons-compress-java",
"purl": "pkg:deb/debian/libcommons-compress-java?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-35517.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-09T09:47:31.485884642Z",
"provider": "osv",
"upstream": [
"CVE-2021-35517"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-35517"
]
},
"related_cves": [
{
"value": "CVE-2021-35517",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 111613,
"published_at": "2021-07-13T08:15:07.22+00:00"
}