CVE catalog

CVE-2018-5996

p7zip-rar: CVE-2018-5996

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.88% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianp7zip-rartrixie16.02+transitional.1fixed
Debianp7zip-rarbookworm16.02+really25.00+ds-0+deb12u1fixed
Alpinep7zip3.1016.02-r3fixed
Alpinep7zip3.1116.02-r3fixed
Alpinep7zip3.1216.02-r3fixed
Alpinep7zip3.1316.02-r3fixed
Alpinep7zip3.1416.02-r3fixed
Alpinep7zip3.1516.02-r3fixed
Alpinep7zip3.1616.02-r3fixed
Alpinep7zip3.1716.02-r3fixed
Alpinep7zip3.516.02-r3fixed
Alpinep7zip3.616.02-r3fixed
Alpinep7zip3.716.02-r3fixed
Alpinep7zip3.816.02-r3fixed
Alpinep7zip3.916.02-r3fixed
Ubuntup7zip-rar16.049.20.1~ds.1-3vulnerable
Ubuntup7zip-rar16.049.20.1~ds.1-4vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianp7zip-rarsourcetrixie16.02-2not yet assignedNot reported[888314]
Debianp7zip-rarsourcebookworm16.02-2not yet assignedNot reported[888314]
Alpinep7zipapk3.1016.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.1116.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.1216.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.1316.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.1416.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.1516.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.1616.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.1716.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.516.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.616.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.716.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.816.02-r3Not reportedALPINE-CVE-2018-5996Not reported
Alpinep7zipapk3.916.02-r3Not reportedALPINE-CVE-2018-5996Not reported

[Debian bug #888314]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [p7zip-rar]Unknown
    Details (2)
    • 16.02+really25.00+ds-0+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 16.02-2

      dsa · p7zip-rar · debian · bookworm; dsa · p7zip-rar · debian · 12

    • 16.02+really25.00+ds-0+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 16.02-2

      dsa · p7zip-rar · debian · bookworm; dsa · p7zip-rar · debian · 12

[Debian 13 (Trixie)]

  • [p7zip-rar]Unknown
    Details (2)
    • 16.02+transitional.1 · all · trixie

      Fixed · Fixed: 16.02-2

      dsa · p7zip-rar · debian · 13

    • 16.02+transitional.1 · all · trixie

      Fixed · Fixed: 16.02-2

      dsa · p7zip-rar · debian · 13

Observed:

References