Security mailing lists by PureSourceCode

GHSA-27jp-wm6q-gp25

MEDIUM

sqlparse: formatting list of tuples leads to denial of service

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
13 Feb 2026
Last modified
10 Sep 2026
Weakness
CWE-770
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI sqlparse < 0.5.4 0.5.4

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.