HighFix available
p7zip-rar — security advisory
Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within the PPMd code, allows remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.
- Products
- p7zip-rar
- Affected versions
- 15.09-1, 15.09-2, 15.14.1-1, 16.02-1, 4.44-1, 4.44.ds.1-1, 4.45~ds.1-1, 4.47~ds.1-1, 4.51~ds.1-1, 4.55~ds.1-1, 4.55~ds.1-2, 4.57~ds.1-1, 4.58~ds.1-1, 4.61~ds.1-1, 4.65~ds.1-1, 9.04~ds.1-1, 9.20.1~ds.1-1, 9.20.1~ds.1-2, 9.20.1~ds.1-3, 9.20.1~ds.1-4
- Fixed versions
- 16.02-2
- CVEs
- CVE-2018-5996
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:56 UTC · Revision 1
Source evidence
Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within the PPMd code, allows remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.
osv:DEBIAN-CVE-2018-5996
p7zip-rar
Fixed versions: 16.02-2
p7zip-rar
Fixed versions: 16.02-2
Complete source record
{
"id": "0fd0608df61b45dd84fa666e46a473cfce8b304906a1d0b8fda43f6457b13df9",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-5996",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2018-5996",
"summary": "Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within the PPMd code, allows remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.",
"evidence": "osv:DEBIAN-CVE-2018-5996",
"products": [
{
"name": {
"value": "p7zip-rar",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "16.02-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "15.09-1",
"evidence": "/affected/0/versions"
},
{
"value": "15.09-2",
"evidence": "/affected/0/versions"
},
{
"value": "15.14.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "16.02-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.44-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.44.ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.45~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.47~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.51~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.55~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.55~ds.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.57~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.58~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.61~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.65~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "9.04~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "9.20.1~ds.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "9.20.1~ds.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "9.20.1~ds.1-3",
"evidence": "/affected/0/versions"
},
{
"value": "9.20.1~ds.1-4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "p7zip-rar",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "16.02-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "15.09-1",
"evidence": "/affected/1/versions"
},
{
"value": "15.09-2",
"evidence": "/affected/1/versions"
},
{
"value": "15.14.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "16.02-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.44-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.44.ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.45~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.47~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.51~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.55~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.55~ds.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "4.57~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.58~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.61~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.65~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "9.04~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "9.20.1~ds.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "9.20.1~ds.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "9.20.1~ds.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "9.20.1~ds.1-4",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2018-5996",
"aliases": [
"DEBIAN-CVE-2018-5996"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "16.02-2"
}
]
}
],
"package": {
"name": "p7zip-rar",
"purl": "pkg:deb/debian/p7zip-rar?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"15.09-1",
"15.09-2",
"15.14.1-1",
"16.02-1",
"4.44-1",
"4.44.ds.1-1",
"4.45~ds.1-1",
"4.47~ds.1-1",
"4.51~ds.1-1",
"4.55~ds.1-1",
"4.55~ds.1-2",
"4.57~ds.1-1",
"4.58~ds.1-1",
"4.61~ds.1-1",
"4.65~ds.1-1",
"9.04~ds.1-1",
"9.20.1~ds.1-1",
"9.20.1~ds.1-2",
"9.20.1~ds.1-3",
"9.20.1~ds.1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-5996.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "16.02-2"
}
]
}
],
"package": {
"name": "p7zip-rar",
"purl": "pkg:deb/debian/p7zip-rar?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"15.09-1",
"15.09-2",
"15.14.1-1",
"16.02-1",
"4.44-1",
"4.44.ds.1-1",
"4.45~ds.1-1",
"4.47~ds.1-1",
"4.51~ds.1-1",
"4.55~ds.1-1",
"4.55~ds.1-2",
"4.57~ds.1-1",
"4.58~ds.1-1",
"4.61~ds.1-1",
"4.65~ds.1-1",
"9.04~ds.1-1",
"9.20.1~ds.1-1",
"9.20.1~ds.1-2",
"9.20.1~ds.1-3",
"9.20.1~ds.1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-5996.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:02:30.020600397Z",
"provider": "osv",
"upstream": [
"CVE-2018-5996"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-5996"
]
},
"related_cves": [
{
"value": "CVE-2018-5996",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 419534,
"published_at": "2018-01-31T18:29:00.363+00:00"
}