CVEfocus › CVE database › CVE-2025-53816

CVE-2025-53816GHSL-2025-058 - 7-Zip Multi-byte write heap buffer overflow in NCompress::NRar5::CDecoder

CVSS 5.5 MediumEPSS 0.7% (higher than 50% of CVEs)Published 2025-07-17Updated 2026-05-11Assigner: GitHub_M

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.

CWE-122

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

4Fixed
2Fix pending
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.047zipNot affected
vulnerable_code_not_present
Ubuntu 25.107zipNot affected
vulnerable_code_not_present
Ubuntu 24.047zipFix pendingUBUNTU-CVE-2025-53816
Ubuntu 22.047zipFix pendingUBUNTU-CVE-2025-53816
Debian 147zip-rarFixed25.00+ds-1DEBIAN-CVE-2025-53816
Debian 137zip-rarFixed25.00+ds-1DEBIAN-CVE-2025-53816
Debian 13p7zip-rarFixed16.02+transitional.1DEBIAN-CVE-2025-53816
Debian 12p7zip-rarFixed16.02+really25.00+ds-0+deb12u1DEBIAN-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.

References

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.