{"id":"ALPINE-CVE-2018-5996","details":"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.","modified":"2025-11-19T06:14:15.031333Z","published":"2018-01-31T18:29:00.363Z","upstream":["CVE-2018-5996"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-5996"}],"affected":[{"package":{"name":"p7zip","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}},{"package":{"name":"p7zip","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/p7zip?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}],"versions":["15.09-r0","15.14.1-r0","16.02-r0","16.02-r1","16.02-r2","4.65-r0","9.04-r0","9.04-r1","9.04-r2","9.13-r0","9.20.1-r0","9.20.1-r1","9.20.1-r2","9.38-r0","9.38.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5996.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}