<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-06T09:35:24.058147+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-55865</id>
    <title>CVE-2026-55865 — Python Liquid: Infinite loop when parsing malformed `{% case %}` tags</title>
    <updated>2026-10-06T09:35:24.059711+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> jg-rp liquid</p>
<p>Python Liquid is a Python engine for the Liquid template language. Prior to 2.2.1, given a malformed {% case %} tag without an associated {% when %} or {% else %} block and no terminating {% endcase %} tag, Python Liquid hangs in an infinite loop at parse time because liquid.TokenStream.eof did not give the EOF token matching kind and value fields, allowing malicious template authors to craft templates for a denial of service attack. This issue is fixed in version 2.2.1.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-55865"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-vq2f-vcc9-j8mv</id>
    <title>GHSA-vq2f-vcc9-j8mv — Python Liquid: Infinite loop when parsing malformed `{% case %}` tags</title>
    <updated>2026-10-06T09:35:24.059765+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: python-liquid</p>
<p>### Impact
Given a malformed `{% case %}` tag without associated `{% when %}` or `{% else %}` block, and no terminating `{% endcase %}` tag, Python Liquid hangs in an infinite loop at parse time. This allows malicious template authors to craft templates for a denial of service attack.</p>
<p>### Patches
The issue is fixed in version 2.2.1 with the correction of the `liquid.TokenStream.eof` attribute. The `kind` and `value` of the special EOF token are now the same, so either can be tested against `liquid.token.TOKEN_EOF`.</p>
<p>### Workarounds
Manually correct the definition of `liquid.TokenStream.eof` before parsing any templates.</p>
<p>```python
import liquid
from liquid.token import TOKEN_EOF</p>
<p>liquid.stream.TokenStream.eof = liquid.Token(TOKEN_EOF, TOKEN_EOF, -1, "")</p>
<p># ...
```</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-vq2f-vcc9-j8mv"/>
  </entry>
</feed>
