CVE-2025-14307: Robocode.battle Robocode Has An Insecure Temporary Vulnerability
CRITICALCVE-2025-14307 is a CRITICAL robocode has an insecure temporary vulnerability (CWE-377: Insecure Temporary File) affecting Robocode.battle libraries in the Maven ecosystem. The issue involves robocode has an insecure temporary file creation vulnerability in the autoextract component. Remediation is available by upgrading affected packages to version 1.9.5.6.
CVE-2025-14307 at a Glance
How to Fix CVE-2025-14307
To remediate this vulnerability, upgrade all affected Robocode.battle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>net.sf.robocode</groupId>
<artifactId>robocode.battle</artifactId>
<version>1.9.5.6</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=net.sf.robocode
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-14307, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=net.sf.robocode
Analyze the terminal output to locate any version of Robocode.battle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.5.6), your application is affected.
Note: The mvn dependency:tree -Dincludes=net.sf.robocode command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-377: Insecure Temporary File, where creating and using insecure temporary files can leave application and system data vulnerable to attack. In Robocode.battle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-14307 Affected Robocode.battle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
net.sf.robocode:robocode.battle
|
Maven |
< 1.9.5.6
|
1.9.5.6
|
References
Frequently Asked Questions
What is CVE-2025-14307?
Which Robocode.battle versions are affected?
What version fixes CVE-2025-14307?
Is robocode.battle affected?
What CWE is associated with CVE-2025-14307?
How can I check Maven dependencies for CVE-2025-14307?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2mxr-rc97-xrj2",
"modified" : "2025-12-10T00:02:37Z",
"published" : "2025-12-09T18:30:35Z",
"aliases" : [ "CVE-2025-14307" ],
"summary" : "Robocode has an insecure temporary file creation vulnerability in the AutoExtract component",
"details" : "An insecure temporary file creation vulnerability exists in the AutoExtract component of Robocode version 1.9.3.6. The createTempFile method fails to securely create temporary files, allowing attackers to exploit race conditions and potentially execute arbitrary code or overwrite critical files. This vulnerability can be exploited by manipulating the temporary file creation process, leading to potential unauthorized actions.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/R:U/V:D/RE:M/U:Red"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "net.sf.robocode:robocode.battle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.5.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-14307"
}, {
"type" : "WEB",
"url" : "https://github.com/robo-code/robocode/pull/68"
}, {
"type" : "WEB",
"url" : "https://github.com/robo-code/robocode/commit/9f882bba2a9cd91da57c16b98699f8cc9b354f3a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/robo-code/robocode"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-377" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-10T00:02:37Z",
"nvd_published_at" : "2025-12-09T16:17:38Z"
}
}