CVE-2025-47285
Last modified
CVE-2025-47285 is a low-severity vulnerability rated 2.9/10 on the CVSS scale. Vyper is the Pythonic Programming Language for the Ethereum Virtual Machine. In versions up to and including 0.4.2rc1, `concat()` may skip evaluation of side effects when the length of an argument is zero. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
Vyper is the Pythonic Programming Language for the Ethereum Virtual Machine. In versions up to and including 0.4.2rc1, `concat()` may skip evaluation of side effects when the length of an argument is zero. This is due to a fastpath in the implementation which skips evaluation of argument expressions when their length is zero. In practice, it would be very unusual in user code to construct zero-length bytestrings using an expression with side-effects, since zero-length bytestrings are typically constructed with the empty literal `b""`; the only way to construct an empty bytestring which has side effects would be with the ternary operator introduced in v0.3.8, e.g. `b"" if self.do_some_side_effect() else b""`. The fix is available in pull request 4644 and expected to be part of the 0.4.2 release. As a workaround, don't have side effects in expressions which construct zero-length bytestrings.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-47285?
How severe is CVE-2025-47285?
How do I fix CVE-2025-47285?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-4728A vulnerability was found in SourceCodester Best Online News…9.8
- CVE-2025-47280Umbraco Forms is a form builder that integrates with the Umb…6.1
- CVE-2025-47281Kyverno is a policy engine designed for cloud native platfor…7.7
- CVE-2025-47282Gardener External DNS Management is an environment to manage…9.9
- CVE-2025-47283Gardener implements the automated management and operation o…9.9
- CVE-2025-47284Gardener implements the automated management and operation o…9.9
- CVE-2025-47286Combodo iTop is a web based IT service management tool. In v…7.2
- CVE-2025-47287Tornado is a Python web framework and asynchronous networkin…7.5
- CVE-2025-47288Discourse Policy plugin gives the ability to confirm users h…3.5
- CVE-2025-47289CE Phoenix is a free, open-source eCommerce platform. A stor…9
- CVE-2025-4729A vulnerability was found in TOTOLINK A3002R and A3002RU 3.0…6.3
- CVE-2025-47290containerd is a container runtime. A time-of-check to time-o…5.9
Are you affected by CVE-2025-47285?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
