{"id":"CVE-2018-10115","aliases":["ALPINE-CVE-2018-10115","DEBIAN-CVE-2018-10115","EUVD-2018-2194","GHSA-75r2-jhx8-x356","OESA-2021-1294","UBUNTU-CVE-2018-10115"],"status":"published","title":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage...","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04332,"percentile":0.91255,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-665","CWE-908"],"published":"2018-05-02T21:00:00Z","modified":"2026-10-23T18:03:22Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"p7zip","fixed_in":["16.02-r3"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"p7zip-rar","fixed_in":["16.02-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"p7zip-rar","fixed_in":["16.02-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-r3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"p7zip-rar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-3"}]}],"versions":["15.09-1","15.09-2","15.14.1-1","16.02-1","16.02-2","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"]},{"source":"osv","ecosystem":"Debian:13","package":"p7zip-rar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-3"}]}],"versions":["15.09-1","15.09-2","15.14.1-1","16.02-1","16.02-2","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"]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP2","package":"p7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02-3.oe1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"p7zip-rar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.20.1~ds.1-3","9.20.1~ds.1-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"p7zip-rar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["16.02-1","16.02-2"]}],"products":[{"vendor":"7-zip","product":"7-zip"}],"references":[{"url":"https://sourceforge.net/p/sevenzip/discussion/45797/thread/adc65bfa/","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","report"]},{"url":"http://www.securitytracker.com/id/1040832","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.securityfocus.com/bid/104132","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://landave.io/2018/05/7-zip-from-uninitialized-memory-to-remote-code-execution/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10115","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-75r2-jhx8-x356"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-10115","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-10115","tags":["advisory"]},{"url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1294","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17969","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5996","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9296","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-10115","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10115","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-10115","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","status":"published","published":"2018-05-02T21:00:00Z","modified":"2024-08-05T07:32:01.144Z","updated_at":"2026-11-02T14:35:01.619448Z"}],"euvd":[{"id":"EUVD-2018-2194","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","status":"published","published":"2018-05-02T21:00:00Z","modified":"2024-08-05T07:32:01Z","updated_at":"2026-11-03T02:39:59.5072Z"}],"ghsa":[{"id":"GHSA-75r2-jhx8-x356","title":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage...","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","status":"published","published":"2022-05-13T01:18:48Z","modified":"2023-02-01T05:05:52Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-665"],"updated_at":"2026-11-02T14:50:17.420383Z"}],"nvd":[{"id":"CVE-2018-10115","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","status":"published","published":"2018-05-02T21:29:00.26Z","modified":"2026-06-17T01:33:32.443Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-665","CWE-908"],"updated_at":"2026-11-02T14:04:26.098615Z"}],"osv":[{"id":"ALPINE-CVE-2018-10115","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","status":"published","published":"2018-05-02T21:29:00.26Z","modified":"2026-10-23T17:23:38.095538281Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:47.187336Z"},{"id":"CVE-2018-10115","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","status":"published","published":"2018-05-02T21:29:00.26Z","modified":"2026-03-14T09:27:03.45784Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.641418Z"},{"id":"DEBIAN-CVE-2018-10115","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","status":"published","published":"2018-05-02T21:29:00.26Z","modified":"2026-10-23T18:03:22.88907986Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.988046Z"},{"id":"OESA-2021-1294","title":"p7zip security update","description":"7za for Linux system to archive file as 7z file format\r\n\r\nSecurity Fix(es):\r\n\r\nHeap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method in 7-Zip before 18.00 and p7zip allows remote attackers to cause a denial of service (out-of-bounds write) or potentially execute arbitrary code via a crafted ZIP archive.(CVE-2017-17969)\r\n\r\nInsufficient 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.(CVE-2018-5996)\r\n\r\nIncorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.(CVE-2018-10115)\r\n\r\nA null pointer dereference bug affects the 16.02 and many old versions of p7zip. A lack of null pointer check for the variable folders.PackPositions in function CInArchive::ReadAndDecodePackedStreams in CPP/7zip/Archive/7z/7zIn.cpp, as used in the 7z.so library and in 7z applications, will cause a crash and a denial of service when decoding malformed 7z files.(CVE-2016-9296)","status":"published","published":"2021-07-31T11:04:32Z","modified":"2026-08-18T01:15:52.933018715Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:38.987987Z"},{"id":"UBUNTU-CVE-2018-10115","description":"Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memory, allowing remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.","status":"published","published":"2018-05-02T21:29:00Z","modified":"2025-10-24T04:46:59Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:16.544091Z"}]}}
