Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-55865 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')[email protected]

Affected Products

ProductVersions
Python Liquid
< 2.2.1 (semver)

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: 2.2.1moderate efforthttps://github.com/jg-rp/liquid/releases/tag/v2.2.1
  • Workaround:low effort

    Manually correct the definition of `liquid.TokenStream.eof` before parsing any templates: ```python import liquid from liquid.token import TOKEN_EOF liquid.stream.TokenStream.eof = liquid.Token(TOKEN_EOF, TOKEN_EOF, -1, "") # ... ```

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-55865
NVD Published Date:
Jul 9, 2026
NVD Last Modified:
Jul 14, 2026
Source:
[email protected]
CVE-2026-55865 Details - Not Deferred