GHSA-27jp-wm6q-gp25MediumNo CVE ID named

sqlparse: formatting list of tuples leads to denial of service

Published
February 13, 2026
Last Modified
February 13, 2026

📋 Description

Summary

The below gist hangs while attempting to format a long list of tuples.

This was found while drafting a regression test for Dja ngo 5.2's composite primary key feature, which allows querying composite fields with tuples.

🎯 Affected products1

  • pip/sqlparse:<= 0.5.3

🔗 References (4)