CVE-2025-53816GHSL-2025-058 - 7-Zip Multi-byte write heap buffer overflow in NCompress::NRar5::CDecoder
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | 7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | 7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | 7zip | Fix pending | UBUNTU-CVE-2025-53816 | |
| Ubuntu 22.04 | 7zip | Fix pending | UBUNTU-CVE-2025-53816 | |
| Debian 14 | 7zip-rar | Fixed | 25.00+ds-1 | DEBIAN-CVE-2025-53816 |
| Debian 13 | 7zip-rar | Fixed | 25.00+ds-1 | DEBIAN-CVE-2025-53816 |
| Debian 13 | p7zip-rar | Fixed | 16.02+transitional.1 | DEBIAN-CVE-2025-53816 |
| Debian 12 | p7zip-rar | Fixed | 16.02+really25.00+ds-0+deb12u1 | DEBIAN-CVE-2025-53816 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ipavlov 7-Zip: affected: < 25.0.0
References
- https://securitylab.github.com/advisories/GHSL-2025-058_7-Zip/
- https://www.openwall.com/lists/oss-security/2025/07/18/1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.