CVE-2022-36025: hyperledger besu Unsigned to Signed Conversion Error
Vulnerability summary
CVE-2022-36025 is a critical (CVSS 9.1) Unsigned to Signed Conversion Error vulnerability in hyperledger besu. EPSS estimates a 1.05% chance of exploitation in the next 30 days, higher than 63.8% of scored vulnerabilities.
Timeline
- 24-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Besu is a Java-based Ethereum client. In versions newer than 22.1.3 and prior to 22.7.1, Besu is subject to an Incorrect Conversion between Numeric Types. An error in 32 bit signed and unsigned types in the calculation of available gas in the CALL operations (including DELEGATECALL) results in incorrect gas being passed into called contracts and incorrect gas being returned after call execution. Where the amount of gas makes a difference in the success or failure, or if the gas is a negative 64 bit value, the execution will result in a different state root than expected, resulting in a consensus failure in networks with multiple EVM implementations. In networks with a single EVM implementation this can be used to execute with significantly more gas than then transaction requested, possibly exceeding gas limitations. This issue is patched in version 22.7.1. As a workaround, reverting to version 22.1.3 or earlier will prevent incorrect execution.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS trend
Probability
1.05%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
+0.13 pp
From 0.92% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-196Unsigned to Signed Conversion ErrorThe product uses an unsigned primitive and performs a cast to a signed primitive, which can produce an unexpected value if the value of the unsigned primitive can not be represented using a signed primitive.
- 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.
Affected systems
Hyperledger1 product
- besu> 22.1.3, < 22.7.1
Linuxfoundation1 product
- besu≥ 22.4.1, < 22.7.1 | 22.4.0 | 22.4.0:rc2
Org.hyperledger.besu1 product
- evm≥ 22.4.0-RC1, < 22.7.1
3 vendors · 3 products
References
3 links- github.com/hyperledger/besu/security/advisories/GHSA-4456-w38r-m53xX Refsource CONFIRMWEBThird Party Advisory
- github.com/hyperledger/besuPACKAGE