Robocode Arbitrary Code Execution
The Event Dispatch Thread in Robocode before 1.5.1 allows remote attackers to execute arbitrary Java code by using a robot to invoke the SwingUtilities.invokeLater method.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | net.sf.robocode:robocode.core | < 1.5.1 | 1.5.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2007-6382
- https://github.com/robo-code/robocode/commit/2f2867d24fb28a2478983be57556f2355a774a81
- https://github.com/robo-code/robocode/commit/8c6f5d77e7723583ba069ea611c33f22c1e9603a
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39019
- https://github.com/robo-code/robocode
- https://github.com/robo-code/robocode/blob/1abe65b65c34a8eb3d23de8f037dafae3c548fa5/versions.md?plain=1#L1880-L1887
- Weakness (CWE)
CWE-94- Platform
- Java / Kotlin (Maven)
- Package
net.sf.robocode:robocode.core- Disclosed
- 01.05.2022
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-xh22-fw58-56pp - CC BY 4.0
Vulnerability history: net.sf.robocode:robocode.core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 05.2022 12.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- Medium 1
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
Robocode Arbitrary Code Execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.