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

Medium 5.5 Published Updated

A heap buffer overflow in the RAR5 handler allows attackers to cause memory corruption and denial of service via crafted archives.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-53816?

CVE-2025-53816 is a medium-severity memory corruption vulnerability in ipavlov 7-Zip, published on 17 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-122

Which versions are affected by CVE-2025-53816?

It affects 1 product.

Products include 7-Zip 7-Zip.

How do I fix CVE-2025-53816?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-53816 being exploited?

There is no known exploitation of CVE-2025-53816 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-53816, UBUNTU-CVE-2025-53816.

Is CVE-2025-53816 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free