Skip to content
High 8.6

Vyper 0.4.0b1以降で変数名の衝突により計算結果が狂う不具合

CVE-2026-114663 First seen on SecPulse

Summary

Vyper 0.4.0b1から0.5.0b1までのコンパイラでは、インポートした定数や省略された既定引数の名前が呼び出し側の変数と衝突すると、意図しない値に置き換わることがあります。uint8などの狭い型で範囲外の値が入り、検証や会計処理が誤作動するおそれがあります。最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Vyper 0.4.0b1から0.5.0b1までのコンパイラでは、インポートした定数や省略された既定引数の名前が呼び出し側の変数と衝突すると、意図しない値に置き換わることがあります。uint8などの狭い型で範囲外の値が入り、検証や会計処理が誤作動するおそれがあります。最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
vyperlangvyper
0.4.0b1 – 0.5.0b1→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

Vyper 0.4.0b1 through 0.5.0b1 miscompiles unfoldable constants and omitted default arguments from imported modules, because parse_Name resolves their names in the using function's scope rather than at declaration. When a contract's parameter, local, or loop variable shares such a name, attacker-influenced input can replace the intended value, including out-of-range values for narrow types such as uint8, corrupting validation or accounting logic.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details