CVE-2026-114118: Vyper 0.3.4 through 0.5.0b1 create_from_blueprint Offset Validation Bypass via Unsigned Wraparound

Published Oct 21, 2026
·
Updated

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

Affected Software

1 affected component
Vyper Vyper>=0.3.4<=0.5.0b1

Event History

Oct 21, 2026
CVE Published
via MITRE·12:37 AM
Data Sourced
via MITRE·12:37 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Projects are exposed if they use affected Vyper versions and have factory logic that calls create_from_blueprint with a code_offset an attacker can control. The impact is deployment of contracts with no runtime code, which can trap ETH and tokens sent to those contracts.

2

What does an attacker need to exploit it?

An attacker must be able to control the code_offset passed to create_from_blueprint. Exploitation relies on supplying a very large offset that triggers unsigned integer wraparound.

3

Are unaffected factory deployments possible?

The issue is specific to create_from_blueprint calls where code_offset is attacker-controlled. The provided information does not indicate that ordinary deployments without such control over code_offset are affected.

4

How can I identify potentially affected code?

Review contracts compiled with Vyper 0.3.4 through 0.5.0b1 for uses of create_from_blueprint. Prioritize factories that derive code_offset from external inputs or otherwise permit untrusted parties to influence it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203