Skip to content
DoS Advisory Intermediate CVE-2025-53817

GHSL-2025-059: Denial of Service (DoS) because of null pointer dereference in 7-Zip - CVE-2025-53817

A null pointer dereference in 7-Zip's Compound document handler occurs when a crafted file causes an integer overflow, leading to a write to a null pointer. An attacker could use this to crash the application, resulting in denial of service.

jarlob Follow

Originally disclosed on GitHub Security Lab

7-Zip supports extracting from Compound Documents. Null pointer dereference in the Compound handler may lead to denial of service.

jarlob, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an unsigned integer overflow in the calculation of the number of clusters, which bypasses a size check and leads to a zero-sized allocation and subsequent null pointer write.

Impact

This issue may lead to denial of service, crashing the application.

What the attacker needed

Victim opens a malicious file with 7-Zip

The fix

The vulnerability was fixed in version 25.00.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

7-Zip is a file archiver that can open many file formats. A specially crafted file can make 7-Zip try to write to a memory location that doesn't exist, causing it to crash. This means an attacker could stop you from using 7-Zip by giving you a malicious file.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by jarlob

View all

192 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.