CVE-2006-4336 Memory corruption in n/a

High 7.5 Published Updated

A buffer underflow in gzip allows attackers to execute arbitrary code by providing a crafted file with a malicious leaf count table.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2006-4336?

CVE-2006-4336 is a high-severity memory corruption vulnerability in n/a, published on 19 Sep 2006. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.

Which versions are affected by CVE-2006-4336?

It affects 1 product.

Products include Gzip Gzip.

How do I fix CVE-2006-4336?

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-2006-4336 being exploited?

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

Sources

Also known as DEBIAN-CVE-2006-4336, GHSA-fwv6-j4q7-2p64.

Is CVE-2006-4336 in your software?

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

Check your SBOMs for free