CVE-2008-3111 in Sun Jdk and 2 more products
Multiple buffer overflows in Sun Java Web Start in JDK and JRE 6 before Update 4, JDK and JRE 5.0 before Update 16, and SDK and JRE 1.4.x before 1.4.2_18 allow context-dependent attackers to gain privileges via an untrusted application, as demonstrated by (a) an application that grants itself privileges to (1) read ...
Affects 3 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Sun | Jdk | 5.0 6 |
| Sun | Jre | 1.4 1.4.2_01 1.4.2_02 1.4.2_03 1.4.2_04 1.4.2_05+14 more1.4.2_06 1.4.2_07 1.4.2_8 1.4.2_9 1.4.2_10 1.4.2_11 1.4.2_12 1.4.2_13 1.4.2_14 1.4.2_15 1.4.2_16 1.4.2_17 5.0 6 |
| Sun | Sdk | 1.4 1.4.2 1.4.2_01 1.4.2_02 1.4.2_03 1.4.2_04+13 more1.4.2_05 1.4.2_06 1.4.2_07 1.4.2_08 1.4.2_09 1.4.2_10 1.4.2_11 1.4.2_12 1.4.2_13 1.4.2_14 1.4.2_15 1.4.2_16 1.4.2_17 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Multiple buffer overflows in Sun Java Web Start in JDK and JRE 6 before Update 4, JDK and JRE 5.0 before Update 16, and SDK and JRE 1.4.x before 1.4.2_18 allow context-dependent attackers to gain privileges via an untrusted application, as demonstrated by (a) an application that grants itself privileges to (1) read local files, (2) write to local files, or (3) execute local programs; and as demonstrated by (b) a long value associated with a java-vm-args attribute in a j2se tag in a JNLP file, which triggers a stack-based buffer overflow in the GetVMArgsOption function; aka CR 6557220.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-3111 |
|---|---|
| BreachSpider ID | BS-2008-GLOBAL-021524-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2008-07-09 |
| Last modified | 2026-04-23 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-20: Improper Input Validation
Software does not validate or incorrectly validates input, allowing attackers to craft data processed in unintended ways.
CWE-119: Improper Restriction of Operations within Memory Buffer
Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.
Related attack patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-20
CAPEC-7 Blind SQL Injection via CWE-20
CAPEC-8 Buffer Overflow in an API Call via CWE-20, CWE-119
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-20, CWE-119
CAPEC-10 Buffer Overflow via Environment Variables via CWE-20, CWE-119
Show all 54
CAPEC-13 Subverting Environment Variable Values via CWE-20
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-20, CWE-119
CAPEC-24 Filter Failure through Buffer Overflow via CWE-20, CWE-119
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-20
CAPEC-42 MIME Conversion via CWE-20, CWE-119
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-20
CAPEC-44 Overflow Binary Resource File via CWE-119
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-20, CWE-119
CAPEC-46 Overflow Variables and Tags via CWE-20, CWE-119
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-20, CWE-119
CAPEC-52 Embedding NULL Bytes via CWE-20
CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-20
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-20
CAPEC-67 String Format Overflow in syslog() via CWE-20
CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-20
CAPEC-72 URL Encoding via CWE-20
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-20
CAPEC-79 Using Slashes in Alternate Encoding via CWE-20
CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-20
CAPEC-81 Web Server Logs Tampering via CWE-20
CAPEC-83 XPath Injection via CWE-20
CAPEC-85 AJAX Footprinting via CWE-20
CAPEC-101 Server Side Include (SSI) Injection via CWE-20
CAPEC-108 Command Line Execution through SQL Injection via CWE-20
CAPEC-109 Object Relational Mapping Injection via CWE-20
CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-20
CAPEC-120 Double Encoding via CWE-20
CAPEC-209 XSS Using MIME Type Mismatch via CWE-20
CAPEC-261 Fuzzing for garnering other adjacent user/sensitive data via CWE-20
CAPEC-588 DOM-Based XSS via CWE-20
CAPEC-23 File Content Injection via CWE-20
CAPEC-63 Cross-Site Scripting (XSS) via CWE-20
CAPEC-73 User-Controlled Filename via CWE-20
CAPEC-88 OS Command Injection via CWE-20
CAPEC-100 Overflow Buffers via CWE-119
CAPEC-104 Cross Zone Scripting via CWE-20
CAPEC-135 Format String Injection via CWE-20
CAPEC-136 LDAP Injection via CWE-20
CAPEC-182 Flash Injection via CWE-20
CAPEC-230 Serialized Data with Nested Payloads via CWE-20
CAPEC-231 Oversized Serialized Data Payloads via CWE-20
CAPEC-250 XML Injection via CWE-20
CAPEC-267 Leverage Alternate Encoding via CWE-20
CAPEC-473 Signature Spoof via CWE-20
CAPEC-664 Server Side Request Forgery via CWE-20
CAPEC-22 Exploiting Trust in Client via CWE-20
CAPEC-28 Fuzzing via CWE-20
CAPEC-123 Buffer Manipulation via CWE-119
CAPEC-153 Input Data Manipulation via CWE-20
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2008. A critical vulnerability affects Sun systems (CVE-2008-3111). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Multiple buffer overflows in Sun Java Web Start in JDK and JRE 6 before Update 4, JDK and JRE 5.0 before Update 16, and SDK and JRE 1.4.x before 1.4.2_18 allow context-dependent attackers to gain privileges via an untrusted application, as demonstrated by (a) an application that grants itself privileges to (1) read local files, (2) write to local files, or (3) execute local programs; and as demonstrated by (b) a long value associated with a java-vm-args attribute in a j2se tag in a JNLP file, wh CVSS vector: AV:N/AC:L/Au:N/C:C/I:C/A:C.
Questions
What is CVE-2008-3111?
This vulnerability was disclosed in 2008. A critical vulnerability affects Sun systems (CVE-2008-3111). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2008-3111?
CVE-2008-3111 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 4.3%.
Is CVE-2008-3111 actively exploited?
No confirmed active exploitation of CVE-2008-3111 as of 2026-05-30.
How do I remediate CVE-2008-3111?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2008-3111?
CVE-2008-3111 affects Sun Jdk, Jre, Sdk.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Sun","product":"Jdk","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-23.