<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 02 Oct 2026 20:32:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-47285 — Vyper's `concat()` builtin may elide side-effects for zero-length arguments</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2025-47285</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; vyperlang vyper&lt;/p&gt;
&lt;p&gt;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&amp;#34;&amp;#34;`; 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&amp;#34;&amp;#34; if self.do_some_side_effect() else b&amp;#34;&amp;#34;`. The fix is available in pull request 4644 and expected to be part of the 0.4.2 release. As a workaround, don&amp;#39;t have side effects in expressions which construct zero-length bytestrings.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; vyperlang vyper&lt;/p&gt;
&lt;p&gt;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&amp;#34;&amp;#34;`; 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&amp;#34;&amp;#34; if self.do_some_side_effect() else b&amp;#34;&amp;#34;`. The fix is available in pull request 4644 and expected to be part of the 0.4.2 release. As a workaround, don&amp;#39;t have side effects in expressions which construct zero-length bytestrings.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2025-47285</guid>
    </item>
    <item>
      <title>GHSA-qhr6-mgqr-mchm — Vyper's `concat()` builtin may elide side-effects for zero-length arguments</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-qhr6-mgqr-mchm</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: vyper&lt;/p&gt;
&lt;p&gt;### Impact
`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:
https://github.com/vyperlang/vyper/blob/68b68c4b30c5ef2f312b4674676170b8a6eaa316/vyper/builtins/functions.py#L560-L562&lt;/p&gt;
&lt;p&gt;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&amp;#34;&amp;#34;`; 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&amp;#34;&amp;#34; if self.do_some_side_effect() else b&amp;#34;&amp;#34;`.&lt;/p&gt;
&lt;p&gt;the following example demonstrates how the issue would look in user code
```vyper
counter: public(uint256)&lt;/p&gt;
&lt;p&gt;@external
def test() -&amp;gt; Bytes[256]:
    a: Bytes[256] = concat(b&amp;#34;&amp;#34; if self.sideeffect() else b&amp;#34;&amp;#34;, b&amp;#34;aaaa&amp;#34;)
    return a&lt;/p&gt;
&lt;p&gt;def sideeffect() -&amp;gt; bool:
    self.counter += 1
    return True
```&lt;/p&gt;
&lt;p&gt;the severity assigned is low, since, as mentioned, this would be a very unusual pattern in user-code.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;fix is tracked in https://github.com/vyperlang/vyper/pull/4644&lt;/p&gt;
&lt;p&gt;### Workarounds
don&amp;#39;t have side effects in expressions which construct zero-length bytestrings.&lt;/p&gt;
&lt;p&gt;### References
_Are there any links users can visit to find out more?_&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: vyper&lt;/p&gt;
&lt;p&gt;### Impact
`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:
https://github.com/vyperlang/vyper/blob/68b68c4b30c5ef2f312b4674676170b8a6eaa316/vyper/builtins/functions.py#L560-L562&lt;/p&gt;
&lt;p&gt;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&amp;#34;&amp;#34;`; 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&amp;#34;&amp;#34; if self.do_some_side_effect() else b&amp;#34;&amp;#34;`.&lt;/p&gt;
&lt;p&gt;the following example demonstrates how the issue would look in user code
```vyper
counter: public(uint256)&lt;/p&gt;
&lt;p&gt;@external
def test() -&amp;gt; Bytes[256]:
    a: Bytes[256] = concat(b&amp;#34;&amp;#34; if self.sideeffect() else b&amp;#34;&amp;#34;, b&amp;#34;aaaa&amp;#34;)
    return a&lt;/p&gt;
&lt;p&gt;def sideeffect() -&amp;gt; bool:
    self.counter += 1
    return True
```&lt;/p&gt;
&lt;p&gt;the severity assigned is low, since, as mentioned, this would be a very unusual pattern in user-code.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;fix is tracked in https://github.com/vyperlang/vyper/pull/4644&lt;/p&gt;
&lt;p&gt;### Workarounds
don&amp;#39;t have side effects in expressions which construct zero-length bytestrings.&lt;/p&gt;
&lt;p&gt;### References
_Are there any links users can visit to find out more?_&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-qhr6-mgqr-mchm</guid>
    </item>
  </channel>
</rss>
