Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-114118 EUVD-2026-106921GHSA-p4mc-qjvf-mf2m

Vyper 0.3.4 through 0.5.0b1 create_from_blueprint Offset Validation Bypass via Unsigned Wraparound

Published Oct 21, 2026 · Updated Oct 27, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
vyperlang vyper 0.3.4 – ≤ 0.5.0b1 —

References