CVE-2009-3874 Integer overflow in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary code via a crafted JPEG file exploiting an integer overflow in the Java ImageIO component.

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-2009-3874?

CVE-2009-3874 is a critical vulnerability in Sun Jdk, published on 5 Nov 2009. 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

Integer overflow in the JPEGImageReader implementation in the ImageI/O component in Sun Java SE in JDK and JRE 5.0 before Update 22, JDK and JRE 6 before Update 17, and SDK and JRE 1.4.x before 1.4.2_24 allows remote attackers to execute arbitrary code via large subsample dimensions in a JPEG file that triggers a heap-based buffer overflow, aka Bug Id 6874643.

Weakness: CWE-189

Which versions are affected by CVE-2009-3874?

It affects 3 products.

Products include Sun Jdk, Sun Jre, Sun Sdk.

How do I fix CVE-2009-3874?

Upgrade to a fixed version.

Is CVE-2009-3874 being exploited?

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

All Sun Jdk vulnerabilities

Sources

Also known as GHSA-pf3m-9ffm-83vh.

Is CVE-2009-3874 in your software?

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

Check your SBOMs for free