CVE-2009-3874
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…
Check your servers for CVE-2009-3874
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-3874 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 9.50%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.1% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-3874 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-3874RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-3874Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-3874
trivy image --scanners vuln IMAGE | grep CVE-2009-3874
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- HPSBUX02503 marc.info · vendor advisory
- http://support.apple.com/kb/HT3970 support.apple.com
- HPSBMU02799 marc.info · vendor advisory
- http://support.apple.com/kb/HT3969 support.apple.com
- HPSBMU02703 marc.info · vendor advisory
- GLSA-200911-02 security.gentoo.org · vendor advisory
- RHSA-2009:1694 redhat.com · vendor advisory
- APPLE-SA-2009-12-03-1 lists.apple.com · vendor advisory
- 37231 secunia.com · third party advisory
- SUSE-SA:2009:058 lists.opensuse.org · vendor advisory
- 270474 sunsolve.sun.com · vendor advisory
- APPLE-SA-2009-12-03-2 lists.apple.com · vendor advisory
7 more
- 37581 secunia.com · third party advisory
- http://www.oracle.com/technetwork/topics/security/cpujan2010-084891.html oracle.com
- http://java.sun.com/javase/6/webnotes/6u17.html java.sun.com
- 37841 secunia.com · third party advisory
- 37239 secunia.com · third party advisory
- MDVSA-2010:084 mandriva.com · vendor advisory
- 37386 secunia.com · third party advisory
Other references
- 36881 securityfocus.com · vdb entry
- http://zerodayinitiative.com/advisories/ZDI-09-080/ zerodayinitiative.com
- oval:org.mitre.oval:def:8603 oval.cisecurity.org · vdb entry, signature
- 1023132 securitytracker.com · vdb entry
- ADV-2009-3131 vupen.com · vdb entry
- oval:org.mitre.oval:def:11566 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:12057 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:7442 oval.cisecurity.org · vdb entry, signature
Source: the record CVE-2009-3874 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse