GHSA-27jp-wm6q-gp25
JSON

medium

sqlparse: formatting list of tuples leads to denial of service

Severity
medium CVSS:4.0 by GitHub
Published
Last changed

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

Product or packageVersionsReported by
sqlparse (PyPI)before 0.5.4GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-27jp-wm6q-gp25 changed 2026-09-10CC-BY-4.0