
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-14308 is an integer overflow vulnerability in the write() method of the Buffer class (specifically RobotFileOutputStream) in Robocode version 1.9.3.6. The flaw allows attackers to bypass array bounds checking by supplying crafted large values for offset and length that overflow when added together, potentially leading to buffer overflows and arbitrary code execution. It was disclosed on December 9, 2025, and a patch was merged on May 13, 2025 (prior to formal CVE assignment). It carries a CVSS v3.1 base score of 9.8 (Critical) and a CVSS v4.0 base score of 10.0 (Critical) (Feedly, GitHub PR #70).
The root cause is an integer overflow or wraparound (CWE-190) in the bounds-checking logic of the RobotFileOutputStream.write() method. The original implementation checked array bounds using the expression offset + length > b.length, which is vulnerable when both offset and length are large integers — their sum can overflow to a small value that falsely passes the boundary check, allowing out-of-bounds writes. This pattern was previously identified and fixed in a related project (ReadyTalk/avian commit 0871979) and is analogous to CVE-2020-9488. The vulnerability is network-reachable (AV:N), requires no authentication or user interaction, and can be triggered by submitting specially crafted inputs that manipulate the data length parameter (GitHub PR #70, Feedly).
Successful exploitation can result in full compromise of the affected system, with high impact on confidentiality, integrity, and availability. An unauthenticated remote attacker could achieve arbitrary code execution by triggering a buffer overflow through the vulnerable write method, potentially enabling data exfiltration, system takeover, or denial of service. The CVSS v4.0 scoring also reflects high impact on sub-system components (SC:H/SI:H/SA:H), indicating potential for broader environmental impact beyond the directly affected process (Feedly).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation (Feedly). The EPSS score is approximately 0.06%, indicating a low current probability of exploitation in the near term. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection plugins are available via Nessus (plugin IDs 278017 and 318844) and Qualys (ID 6035799) (Feedly).
offset and length values are large integers (e.g., near Integer.MAX_VALUE) such that offset + length overflows and wraps to a small value, bypassing the bounds check offset + length > b.length.RobotFileOutputStream.write() method via the network-accessible attack surface of the Robocode application.ArrayIndexOutOfBoundsException or memory corruption errors originating from RobotFileOutputStream.write(); crash dumps or JVM fatal error logs.The vulnerability was patched via GitHub Pull Request #70, merged on May 13, 2025, which corrects the bounds-checking logic in RobotFileOutputStream.write() by replacing the overflow-prone offset + length > b.length check with safe alternatives. Users should upgrade Robocode from version 1.9.3.6 to any version incorporating this fix. As interim mitigations, restrict network access to Robocode instances, implement strict input validation for buffer write operations, and monitor for anomalous activity. Ubuntu Linux Security Advisory USN-8385-1 also addresses this issue for Ubuntu package users (GitHub PR #70, Linux Security).
The vulnerability was reported by contributor simei2k and acknowledged by Robocode maintainer flemming-n-larsen, who thanked the reporter and merged the fix promptly (GitHub PR #70). The CVE was formally assigned after the patch was merged, with the reporter noting they would submit it as a CVE post-merge. Coverage has been limited to automated vulnerability tracking platforms (Vulners, VulDB, CVEFeed, CIRCL) and security scanner vendors (Tenable, Qualys), with no significant broader media or researcher commentary observed.
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
robocode: 1.9.3.1-1ubuntu0.1~esm1
devel
robocode
focal (esm-apps)
robocode: 1.9.3.7-1ubuntu0.1~esm1
jammy
robocode
jammy (esm-apps)
robocode: 1.9.3.9-2ubuntu0.1~esm1
noble
robocode
noble (esm-apps)
robocode: 1.9.3.9-3ubuntu0.1~esm1
resolute
robocode
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."