NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

GHSA-27jp-wm6q-gp25: sqlparse: formatting list of tuples leads to denial of service

mediumCVSS 4.0 6.9

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.

Published Feb 13, 2026

Affected packages

sqlparse

Ecosystem
PyPI
Affected
<= 0.5.3
Fixed in
0.5.4
Check
pip show sqlparse

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

###

Credited to jacobtylerwalls.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries