CVE Catalog

CVE-2026-114118

MediumCVSS 4.8
Published: Translated: NVD NIST

Summary

In Vyper 0.3.4 through 0.5.0b1, create_from_blueprint computes the remaining blueprint size via uint256 subtraction without checking that code_offset is below the code size. A huge offset can wrap to a small positive value.

Risk Assessment

An attacker controlling code_offset can cause factories to deploy contracts with no runtime code, potentially trapping ETH and tokens. This can lead to loss of funds or application malfunction.

Recommendation

Update Vyper to a version that validates code_offset before subtraction. Review existing contracts for use of create_from_blueprint.

Other vulnerabilities in Vyper

See all
Original NVD description (English source)

Vyper 0.3.4 through 0.5.0b1 computes the remaining blueprint size in create_from_blueprint by uint256 subtraction without first checking that code_offset is below the blueprint's code size, so a huge offset wraps to a small positive value. An attacker controlling code_offset can make a factory deploy contracts with no runtime code, potentially trapping ETH and tokens.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS