CVE-2006-6235 Use after free in n/a

Critical 10.0 Published Updated

Attackers can execute arbitrary code by sending crafted OpenPGP packets that trigger a use-after-free error in GnuPG.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2006-6235?

CVE-2006-6235 is a critical use after free vulnerability in Redhat Enterprise Linux, published on 7 Dec 2006. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A "stack overwrite" vulnerability in GnuPG (gpg) 1.x before 1.4.6, 2.x before 2.0.2, and 1.9.0 through 1.9.95 allows attackers to execute arbitrary code via crafted OpenPGP packets that cause GnuPG to dereference a function pointer from deallocated stack memory.

Which versions are affected by CVE-2006-6235?

It affects 9 products.

Products include Gnu Privacy Guard, Gpg4win Gpg4win, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Fedora Core, Redhat Linux Advanced Workstation and 3 more.

How do I fix CVE-2006-6235?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2006-6235 being exploited?

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

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2006-6235, GHSA-fxx3-6m2r-fwh5.

Is CVE-2006-6235 in your software?

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

Check your SBOMs for free