{"id":"CVE-2025-53816","aliases":["DEBIAN-CVE-2025-53816","EUVD-2025-21791","SUSE-SU-2026:20592-1","UBUNTU-CVE-2025-53816","openSUSE-SU-2025:15523-1","openSUSE-SU-2026:20273-1"],"status":"published","title":"GHSL-2025-058 - 7-Zip Multi-byte write heap buffer overflow in NCompress::NRar5::CDecoder","description":"7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.","severity":{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00733,"percentile":0.54703,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122"],"published":"2025-07-17T18:09:58Z","modified":"2026-09-01T20:05:54Z","fixes":[{"ecosystem":"Debian:13","package":"7zip-rar","fixed_in":["25.00+ds-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"7zip-rar","fixed_in":["25.00+ds-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"p7zip-rar","fixed_in":["16.02+really25.00+ds-0+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"p7zip-rar","fixed_in":["16.02+transitional.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"7zip-rar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.00+ds-1"}]}],"versions":["22.01-1","23.01-1","23.01-2","23.01-3","23.01-4","24.05+ds-1","24.05+ds-2","24.06+ds-1","24.07+ds-1","24.08+ds-1","24.09+ds-1","24.09+ds-2","24.09+ds-3","24.09+ds-3~bpo12+1"]},{"source":"osv","ecosystem":"Debian:14","package":"7zip-rar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.00+ds-1"}]}],"versions":["22.01-1","23.01-1","23.01-2","23.01-3","23.01-4","24.05+ds-1","24.05+ds-2","24.06+ds-1","24.07+ds-1","24.08+ds-1","24.09+ds-1","24.09+ds-2","24.09+ds-3","24.09+ds-3~bpo12+1"]},{"source":"osv","ecosystem":"Debian:12","package":"p7zip-rar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.02+really25.00+ds-0+deb12u1"}]}],"versions":["15.09-1","15.09-2","15.14.1-1","16.02-1","16.02-2","16.02-3","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+transitional.1"}]}],"versions":["15.09-1","15.09-2","15.14.1-1","16.02-1","16.02-2","16.02-3","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":"SUSE:Linux Enterprise Server 16.0","package":"7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.01-160000.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.01-160000.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"7zip","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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"7zip","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"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.01-1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"7zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.01-160000.1.1"}]}],"bundled":2}],"products":[{"vendor":"7-zip","product":"7-zip"},{"vendor":"ipavlov","product":"7-zip"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2025-058_7-Zip/","tags":["x_refsource_CONFIRM","Exploit","Third Party Advisory","advisory","report"]},{"url":"https://www.openwall.com/lists/oss-security/2025/07/18/1","tags":["x_refsource_MISC","Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/18/1","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00021.html"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53816.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53816","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-53816","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620592-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1246706","tags":["report"]},{"url":"https://bugzilla.suse.com/1246707","tags":["report"]},{"url":"https://bugzilla.suse.com/1249130","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2025-53816","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-53817","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2025-53816","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-53816","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-53816","title":"GHSL-2025-058 - 7-Zip Multi-byte write heap buffer overflow in NCompress::NRar5::CDecoder","description":"7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.","status":"published","published":"2025-07-17T18:09:58.48Z","modified":"2026-05-11T16:53:20.506Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:32:48.853452Z"}],"euvd":[{"id":"EUVD-2025-21791","description":"7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.","status":"published","published":"2025-07-17T18:09:58Z","modified":"2026-05-11T16:53:20Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-02T19:05:10.736891Z"}],"nvd":[{"id":"CVE-2025-53816","description":"7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.","status":"published","published":"2025-07-17T19:15:25.17Z","modified":"2026-06-17T09:38:58.613Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:11:18.782156Z"}],"osv":[{"id":"CVE-2025-53816","title":"GHSL-2025-058 - 7-Zip Multi-byte write heap buffer overflow in NCompress::NRar5::CDecoder","description":"7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.","status":"published","published":"2025-07-17T18:09:58.48Z","modified":"2026-04-10T05:30:59.11984Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","level":"medium"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T15:44:50.45326Z"},{"id":"DEBIAN-CVE-2025-53816","description":"7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.","status":"published","published":"2025-07-17T19:15:25.17Z","modified":"2026-09-01T20:05:54.637760087Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:47.378563Z"},{"id":"UBUNTU-CVE-2025-53816","description":"7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.","status":"published","published":"2025-07-17T19:15:00Z","modified":"2026-01-20T19:03:00.835989Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:50.31802Z"},{"id":"openSUSE-SU-2025:15523-1","title":"7zip-25.01-1.1 on GA media","description":"These are all security issues fixed in the 7zip-25.01-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-09-05T00:00:00Z","modified":"2026-03-23T04:53:53.220225Z","updated_at":"2026-11-02T16:58:37.810934Z"},{"id":"openSUSE-SU-2026:20273-1","title":"Security update for 7zip","description":"This update for 7zip fixes the following issues:\n\n- Update to 25.01 (boo#1249130)\n  * The code for handling symbolic links has been changed to\n    provide greater security when extracting files from archives\n  * Command line switch -snld20 can be used to bypass default\n    security checks when creating symbolic links.\n\n- Update to 25.00:\n  * bzip2 compression speed was increased by 15-40%.\n  * deflate (zip/gz) compression speed was increased by 1-3%.\n  * improved support for zip, cpio and fat archives.\n  * CVE-2025-53816: Fixed input manipulation leading\n    to heap buffer overflow (bsc#1246706)\n  * CVE-2025-53817: Fixed null pointer dereference leading\n    to denial of service (bsc#1246707)\n","status":"published","published":"2026-02-26T11:53:30Z","modified":"2026-03-23T04:54:49.370432Z","updated_at":"2026-11-02T16:58:41.463445Z"},{"id":"SUSE-SU-2026:20592-1","title":"Security update for 7zip","description":"This update for 7zip fixes the following issues:\n\n- Update to 25.01 (boo#1249130)\n  * The code for handling symbolic links has been changed to\n    provide greater security when extracting files from archives\n  * Command line switch -snld20 can be used to bypass default\n    security checks when creating symbolic links.\n\n- Update to 25.00:\n  * bzip2 compression speed was increased by 15-40%.\n  * deflate (zip/gz) compression speed was increased by 1-3%.\n  * improved support for zip, cpio and fat archives.\n  * CVE-2025-53816: Fixed input manipulation leading\n    to heap buffer overflow (bsc#1246706)\n  * CVE-2025-53817: Fixed null pointer dereference leading\n    to denial of service (bsc#1246707)\n","status":"published","published":"2026-02-26T13:17:48Z","modified":"2026-03-23T04:53:03.913781Z","updated_at":"2026-11-02T15:54:01.953589Z"}]}}
