Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-47285

LOW 2.9EPSS 55%

Vyper's `concat()` builtin may elide side-effects for zero-length arguments

Also known as GHSA-qhr6-mgqr-mchm, PYSEC-2026-2029

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Projects that depend on PyPI package vyper (<= 0.4.2rc1)
  • Anyone running vyperlang vyper <= 0.4.2rc1

Vulnerability facts

Affected
vyper <= 0.4.2rc1
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
2.9 (v4.0, CNA)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:POpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Proof of concept
EPSS
0.85% chance of exploitation in 30 days (percentile 55, 2026-11-26)
CWE
CWE-691
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI vyper<= 0.4.2rc1—osv
vyperlang vyper<= 0.4.2rc1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-47285. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-47285.md
Affected: vyper <= 0.4.2rc1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for vyper (PyPI), vyperlang vyper: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-47285 being exploited?

There is no confirmed exploitation: CVE-2025-47285 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-47285?

Low: CVSS 2.9 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-47285?

vyper <= 0.4.2rc1.

Is there a fix for CVE-2025-47285?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-47285?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors