Security mailing lists by PureSourceCode

CVE-2022-36025

CRITICAL 9.1CVSS 3.1

Besu VM vulnerable to gas allocation error in CALL operations

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.

Published
24 Sep 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-196CWE-681
Also known as
GHSA-4456-w38r-m53x
Sources
NVDJSONOSV GHSA-4456-w38r-m53xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation besu
cpe:2.3:a:linuxfoundation:besu:*:*:*:*:*:*:*:*
>= 22.4.1, < 22.7.1 22.7.1
NVD linuxfoundation besu
cpe:2.3:a:linuxfoundation:besu:22.4.0:-:*:*:*:*:*:*
= 22.4.0
NVD linuxfoundation besu
cpe:2.3:a:linuxfoundation:besu:22.4.0:rc2:*:*:*:*:*:*
= 22.4.0
OSV Maven org.hyperledger.besu:evm >= 22.4.0-RC1, < 22.7.1 22.7.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 24 Sep 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.