CVE-2008-5351: Sun JDK
High severity, CVSS 7.5. EPSS: 3.4% chance of exploitation in the next 30 days.
Java Runtime Environment (JRE) for Sun JDK and JRE 6 Update 10 and earlier; JDK and JRE 5.0 Update 16 and earlier; and SDK and JRE 1.4.2_18 and earlier accepts UTF-8 encodings that are not the "shortest" form, which makes it easier for attackers to bypass protection mechanisms for other applications that rely on shortest-form UTF-8 encodings.
Affected products
- Sun JDK: up to and including 5.0; up to and including 6; version 5.0 only; version 6 only
- Sun JRE: up to and including 1.4.2_18; up to and including 5.0; up to and including 6; version 1.4.2_1 only; version 1.4.2_2 only; version 1.4.2_3 only; …
- Sun SDK: up to and including 1.4.2_18; version 1.4.2_1 only; version 1.4.2_2 only; version 1.4.2_3 only; version 1.4.2_4 only; version 1.4.2_5 only; …
Published 2008-12-05. Last modified 2026-06-16.