# CVE-2021-39193: Transaction validity oversight in pallet-ethereum

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2021-09-01T18:22:48.000Z
- Modified: 2026-07-08T06:29:33.898Z
- Also known as: GHSA-hw4v-5x4h-c3xm
- Weaknesses: CWE-20, CWE-1284
- Assigned by: GitHub_M

## Description

Frontier is Substrate's Ethereum compatibility layer. Prior to commit number 0b962f218f0cdd796dadfe26c3f09e68f7861b26, a bug in `pallet-ethereum` can cause invalid transactions to be included in the Ethereum block state in `pallet-ethereum` due to not validating the input data size. Any invalid transactions included this way have no possibility to alter the internal Ethereum or Substrate state. The transaction will appear to have be included, but is of no effect as it is rejected by the EVM engine. The impact is further limited by Substrate extrinsic size constraints. A patch is available in commit number 0b962f218f0cdd796dadfe26c3f09e68f7861b26. There are no workarounds aside from applying the patch.

(As written by CVE List.)

## Affected

- paritytech frontier: < 0b962f218f0cdd796dadfe26c3f09e68f7861b26
- pallet-ethereum (crates.io): up to 3.0.0
- parity frontier: before 2021-09-03

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/paritytech/frontier/security/advisories/GHSA-hw4v-5x4h-c3xm> (patch, third-party-advisory, web)
- <https://github.com/paritytech/frontier/pull/465> (patch, third-party-advisory, web)
- <https://github.com/paritytech/frontier/pull/465/commits/8a2b890a2fb477d5fedd0e4335b00623832849ae> (patch, third-party-advisory, web)
- <https://github.com/paritytech/frontier/commit/0b962f218f0cdd796dadfe26c3f09e68f7861b26> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39193> (advisory)
- <https://github.com/paritytech/frontier/commit/dd112e> (web)
- <https://github.com/polkadot-evm/frontier> (package)

## Sources

- CVE List: [CVE-2021-39193](https://www.cve.org/CVERecord?id=CVE-2021-39193), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hw4v-5x4h-c3xm](https://github.com/advisories/GHSA-hw4v-5x4h-c3xm), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39193](https://nvd.nist.gov/vuln/detail/CVE-2021-39193), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39193 · Whole record: https://cve.day/CVE-2021-39193.json · Rebuilt by cve.day 2026-11-25T22:58:03.644Z
