GHSA-27jp-wm6q-gp25

    Dashboard / Vulnerabilities / GHSA-27jp-wm6q-gp25

    GHSA-27jp-wm6q-gp25

    Published: 13 Feb 2026Last Modified: 10 Sept 2026

    Summary: sqlparse: formatting list of tuples leads to denial of service

    Details: ### 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](https://code.djangoproject.com/ticket/36416#comment:3), which allows querying composite fields with tuples. ###

    Affected packages

    Package

    Name: sqlparse

    Purl: pkg:pypi/sqlparse

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.5.4

    Affected versions

    0.1.0
    0.1.1
    0.1.10
    0.1.11
    0.1.12
    0.1.13
    0.1.14
    0.1.15
    0.1.16
    0.1.17
    0.1.18
    0.1.19
    0.1.2
    0.1.3
    0.1.4
    0.1.5
    0.1.6
    0.1.7
    0.1.8
    0.1.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-27jp-wm6q-gp25 | CVE-DB