CVE-2018-1000224: godotengine godot Incorrect Calculation of Buffer Size
Vulnerability summary
CVE-2018-1000224 is a high (CVSS 7.5) Incorrect Calculation of Buffer Size vulnerability in godotengine godot. EPSS estimates a 3.79% chance of exploitation in the next 30 days, higher than 89.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 20-08-2018PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
Description
Godot Engine version All versions prior to 2.1.5, all 3.0 versions prior to 3.0.6. contains a Signed/unsigned comparison, wrong buffer size chackes, integer overflow, missing padding initialization vulnerability in (De)Serialization functions (core/io/marshalls.cpp) that can result in DoS (packet of death), possible leak of uninitialized memory. This attack appear to be exploitable via A malformed packet is received over the network by a Godot application that uses built-in serialization (e.g. game server, or game client). Could be triggered by multiplayer opponent. This vulnerability appears to have been fixed in 2.1.5, 3.0.6, master branch after commit feaf03421dda0213382b51aff07bd5a96b29487b.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
3.79%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
+0.44 pp
From 3.35% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGodot
Maturity: poc
Weaknesses
CWE · root cause- CWE-131Incorrect Calculation of Buffer SizeThe product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-681Incorrect Conversion between Numeric TypesWhen converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
- CWE-908Use of Uninitialized ResourceThe product uses or accesses a resource that has not been initialized.
- CWE-909Missing Initialization of ResourceThe product does not initialize a critical resource.
Affected systems
Godotengine1 product
- godot< 2.1.5 | ≥ 3.0.0, < 3.0.6
1 vendor · 1 product
References
3 links- github.com/godotengine/godot/issues/20558X Refsource CONFIRMExploitIssue TrackingPatchThird Party Advisory