CVE-2026-55865
HIGHPython Liquid: Infinite loop when parsing malformed `{% case %}` tags
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/jg-rp/liquid/security/advisories/GHSA-vq2f-vcc9-j8mv
X_Refsource_Misc x_refsource_misc
https://github.com/jg-rp/liquid/commit/26db8931cf35e8433c1ca506fc32c3bb62f743d4
X_Refsource_Misc x_refsource_misc
https://github.com/jg-rp/liquid/releases/tag/v2.2.1
Scores
CVSS v4
7.1
EPSS
0.0026
EPSS Percentile
17.7%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-835
Status
published
Products (1)
jg-rp/liquid
< 2.2.1
Published
Jul 09, 2026
Tracked Since
Jul 10, 2026