6.5

CVE-2022-21685: parity frontier Integer Underflow (Wrap or Wraparound)

CVSS: 6.5v3.1MediumModified
AliasesGHSA-cjg2-2fjg-fph4
Published 14-01-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-21685 is a medium (CVSS 6.5) Integer Underflow (Wrap or Wraparound) vulnerability in parity frontier. EPSS estimates a 1.33% chance of exploitation in the next 30 days, higher than 70.8% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 14-01-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

Frontier is Substrate's Ethereum compatibility layer. Prior to commit number `8a93fdc6c9f4eb1d2f2a11b7ff1d12d70bf5a664`, a bug in Frontier's MODEXP precompile implementation can cause an integer underflow in certain conditions. This will cause a node crash for debug builds. For release builds (and production WebAssembly binaries), the impact is limited as it can only cause a normal EVM out-of-gas. Users who do not use MODEXP precompile in their runtime are not impacted. A patch is available in pull request #549.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.33%

Chance of exploitation in the next 30 days

Percentile

71%

Versus all other CVEs

30-day change

0.00 pp

From 1.33% on 21-09-2026

21-09-202621-10-2026
EPSS score
1.33%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Crates.Io1 product
  • pallet-evm-precompile-modexp≤ 1.0.0
Parity1 product
Paritytech1 product

3 vendors · 3 products

References

5 links