CVE-2026-55865

Source
https://cve.org/CVERecord?id=CVE-2026-55865
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55865.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-55865
Aliases
Downstream
Related
Published
2026-07-09T20:34:38Z
Modified
2026-08-12T03:51:41Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Python Liquid: Infinite loop when parsing malformed `{% case %}` tags
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55865.json"
}
References

Affected packages

Git / github.com/jg-rp/liquid

Affected ranges

Type
GIT
Repo
https://github.com/jg-rp/liquid
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.2.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.6.2
v0.7.2
v0.7.7
v0.8.0
v0.9.0
v1.*
v1.0.0
v1.1.0
v1.1.3
v1.1.5
v1.1.7
v1.10.0
v1.10.2
v1.11.0
v1.12.0
v1.12.1
v1.12.2
v1.13.0
v1.2.0
v1.3.0
v1.4.0
v1.4.3
v1.4.5
v1.4.6
v1.4.7
v1.5.0
v1.5.1
v1.6.0
v1.6.1
v1.7.0
v1.8.0
v1.8.1
v1.9.0
v1.9.1
v1.9.2
v1.9.3
v1.9.4
v2.*
v2.0.0
v2.0.1
v2.0.2
v2.1.0
v2.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55865.json"