{"id":"UBUNTU-CVE-2026-125742","details":"7-Zip before 26.06 contains a heap out-of-bounds write vulnerability in the LZX decoder that lets attackers corrupt memory when a continuation CAB volume declares a smaller window. Attackers can entice victims to extract crafted multi-volume CAB archives, where a stale _pos value bypasses bounds checks, enabling arbitrary code execution.","modified":"2026-11-18T11:14:53Z","published":"2026-11-10T12:17:00Z","upstream":["CVE-2026-125742"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-125742"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-125742"},{"type":"REPORT","url":"https://github.com/ip7z/7zip/commit/d3296e39e1f1f92c7b41c0c3848e65640428d42d"},{"type":"REPORT","url":"https://github.com/ip7z/7zip/blob/26.05/CPP/7zip/Compress/LzxDecoder.cpp#L1496-L1513"},{"type":"REPORT","url":"https://github.com/ip7z/7zip/commit/d3296e39e1f1f92c7b41c0c3848e65640428d42d"},{"type":"REPORT","url":"https://github.com/ip7z/7zip/releases/tag/26.06"},{"type":"REPORT","url":"https://potion-brew.pages.dev/posts/7zip-cab-lzx-window-desync-rce/"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/7-zip-before-26.06-heap-out-of-bounds-write-via-lzx-decoder-in-cab-extraction"}],"affected":[{"package":{"name":"p7zip","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/p7zip?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.20.1~dfsg.1-4","9.20.1~dfsg.1-4+deb7u1build0.14.04.1","9.20.1~dfsg.1-4+deb7u2build0.14.04.1","9.20.1~dfsg.1-4+deb7u3build0.14.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"p7zip","binary_version":"9.20.1~dfsg.1-4+deb7u3build0.14.04.1"},{"binary_name":"p7zip-full","binary_version":"9.20.1~dfsg.1-4+deb7u3build0.14.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}},{"package":{"name":"p7zip","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/p7zip?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.20.1~dfsg.1-4.2","9.20.1~dfsg.1-4.2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"p7zip","binary_version":"9.20.1~dfsg.1-4.2ubuntu0.1"},{"binary_name":"p7zip-full","binary_version":"9.20.1~dfsg.1-4.2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}},{"package":{"name":"p7zip","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/p7zip?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["16.02+dfsg-4","16.02+dfsg-5","16.02+dfsg-6"],"ecosystem_specific":{"binaries":[{"binary_name":"p7zip","binary_version":"16.02+dfsg-6"},{"binary_name":"p7zip-full","binary_version":"16.02+dfsg-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}},{"package":{"name":"p7zip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/p7zip?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["16.02+dfsg-7","16.02+dfsg-7build1"],"ecosystem_specific":{"binaries":[{"binary_version":"16.02+dfsg-7build1","binary_name":"p7zip"},{"binary_name":"p7zip-full","binary_version":"16.02+dfsg-7build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}},{"package":{"name":"p7zip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/p7zip?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["16.02+dfsg-8"],"ecosystem_specific":{"binaries":[{"binary_version":"16.02+dfsg-8","binary_name":"p7zip"},{"binary_name":"p7zip-full","binary_version":"16.02+dfsg-8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}},{"package":{"name":"7zip","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/7zip?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["21.03~beta+dfsg-6","21.04~beta+dfsg-1","21.06+dfsg-1","21.07+dfsg-1","21.07+dfsg-2","21.07+dfsg-3","21.07+dfsg-4","21.07+dfsg-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"7zip","binary_version":"21.07+dfsg-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}},{"package":{"name":"7zip","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/7zip?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.01+dfsg-3","23.01+dfsg-7","23.01+dfsg-8","23.01+dfsg-11","23.01+dfsg-11ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"7zip","binary_version":"23.01+dfsg-11ubuntu0.1~esm1"},{"binary_name":"7zip-standalone","binary_version":"23.01+dfsg-11ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}},{"package":{"name":"7zip","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/7zip?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["26.00+dfsg-1","26.01+dfsg-2","26.01+dfsg-3","26.02+dfsg-1","26.02+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_version":"26.02+dfsg-2","binary_name":"7zip"},{"binary_name":"7zip-standalone","binary_version":"26.02+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}},{"package":{"name":"7zip","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/7zip?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.01+dfsg-2","25.01+dfsg-3","25.01+dfsg-4","25.01+dfsg-5","26.00+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"7zip","binary_version":"26.00+dfsg-1"},{"binary_name":"7zip-standalone","binary_version":"26.00+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125742.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}