Description
Stack-based buffer overflow in the setDiffICM function in the Abstract Window Toolkit (AWT) in Java Runtime Environment (JRE) in Sun Java SE in JDK and JRE 5.0 before Update 22, JDK and JRE 6 before Update 17, SDK and JRE 1.3.x before 1.3.1_27, and SDK and JRE 1.4.x before 1.4.2_24 allows remote attackers to execute arbitrary code via a crafted argument, aka Bug Id 6872357.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | java-1.4.2-ibm +6 | 1.4.2.13.3-1jpp.1.el5 | RHSA-2010:0408, RHSA-2009:1643 |
| RHEL 5 | java-1.5.0-ibm +7 | 1:1.5.0.11-1jpp.1.el5 | RHSA-2009:1647 |
| RHEL 5 | java-1.5.0-sun +5 | 1.5.0.22-1jpp.1.el5 | RHSA-2009:1571 |
| RHEL 5 | java-1.6.0-ibm +7 | 1:1.6.0.7-1jpp.2.el5 | RHSA-2009:1694 |
| RHEL 5 | java-1.6.0-openjdk +4 | 1:1.6.0.0-1.7.b09.el5 | RHSA-2009:1584 |
| RHEL 5 | java-1.6.0-sun +5 | 1:1.6.0.17-1jpp.2.el5 | RHSA-2009:1560 |
| RHEL 4 | java-1.4.2-ibm +6 | 1.4.2.13.3-1jpp.1.el4 | RHSA-2010:0408, RHSA-2009:1643 |
| RHEL 4 | java-1.5.0-ibm +6 | 1:1.5.0.11-1jpp.1.el4 | RHSA-2009:1647 |
| RHEL 4 | java-1.5.0-sun +5 | 1.5.0.22-1jpp.1.el4 | RHSA-2009:1571 |
| RHEL 4 | java-1.6.0-ibm +6 | 1:1.6.0.7-1jpp.3.el4 | RHSA-2009:1694 |
| RHEL 4 | java-1.6.0-sun +5 | 1:1.6.0.17-1jpp.1.el4 | RHSA-2009:1560 |
| RHEL 3 | java-1.4.2-ibm +5 | 1.4.2.13.3-1jpp.1.el3 | RHSA-2009:1643 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Network Satellite 5 | java-1.6.0-ibm +1 | 1:1.6.0.7-1jpp.2.el5 | RHSA-2010:0043 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Sun Java JRE AWT setDiffICM Buffer Overflow
exploit/multi/browser/java_setdifficm_bof
Exploit-DB 1
- Sun Java - JRE AWT setDiffICM Buffer Overflow (Metasploit) EDB-16298 · remote · Sep 20, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 8
- RHSA-2010:0408 Red Hat Security Advisory: java-1.4.2-ibm security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2010:0043 Red Hat Security Advisory: Red Hat Network Satellite Server IBM Java Runtime security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:1694 Red Hat Security Advisory: java-1.6.0-ibm security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:1643 Red Hat Security Advisory: java-1.4.2-ibm security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:1647 Red Hat Security Advisory: java-1.5.0-ibm security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:1584 Red Hat Security Advisory: java-1.6.0-openjdk security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:1571 Red Hat Security Advisory: java-1.5.0-sun security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:1560 Red Hat Security Advisory: java-1.6.0-sun security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
References
- HPSBUX02503 vendor-advisory
- oval:org.mitre.oval:def:11262 vdb-entry signature
- 36881 vdb-entry
- http://support.apple.com/kb/HT3970
- HPSBMU02799 vendor-advisory
- http://support.apple.com/kb/HT3969
- HPSBMU02703 vendor-advisory
- GLSA-200911-02 vendor-advisory
- RHSA-2009:1694 vendor-advisory
- oval:org.mitre.oval:def:10741 vdb-entry signature
- APPLE-SA-2009-12-03-1 vendor-advisory
- oval:org.mitre.oval:def:8566 vdb-entry signature
- oval:org.mitre.oval:def:7400 vdb-entry signature
- 37231 third-party-advisory
- 1023132 vdb-entry
- SUSE-SA:2009:058 vendor-advisory
- 270474 vendor-advisory
- http://zerodayinitiative.com/advisories/ZDI-09-078/
- ADV-2009-3131 vdb-entry
- APPLE-SA-2009-12-03-2 vendor-advisory
- 37581 third-party-advisory
- http://www.oracle.com/technetwork/topics/security/cpujan2010-084891.html
- http://java.sun.com/javase/6/webnotes/6u17.html
- 37841 third-party-advisory
- 37239 third-party-advisory
- MDVSA-2010:084 vendor-advisory
- 37386 third-party-advisory