Search

Find a vulnerability

Search criteria ⓘ Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    11 vulnerabilities found for sqlparse by debian

    DEBIAN-CVE-2026-112307

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    sqlparse through 0.6.0 contains a PHP code injection vulnerability that allows attackers to inject PHP expressions by supplying SQL text containing unescaped dollar signs. Attackers can embed ${expr} or {${expr}} sequences that OutputPHPFilter places in double-quoted strings, executing arbitrary PHP code when the generated snippet runs.

    Scope: local

    Debian bug: 1154009

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormopennot yet assigned bookworm: 0.4.2-1+deb12u1
    forkyopennot yet assigned forky: 0.5.5-2
    sidopennot yet assigned sid: 0.5.5-2
    trixieopennot yet assigned trixie: 0.5.3-1

    DEBIAN-CVE-2026-59893

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, SQL_REGEX in sqlparse/keywords.py and the per-position loop in sqlparse/lexer.py repeatedly scan unmatched dollar-quoted literal and multiline-comment delimiters, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split(). This issue is fixed in version 0.6.0.

    Scope: local

    Debian bug: 1144932

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormopennot yet assigned Minor issue, DoS postponed bookworm: 0.4.2-1+deb12u1
    forkyopennot yet assigned forky: 0.5.5-2
    sidopennot yet assigned sid: 0.5.5-2
    trixieopennot yet assigned Minor issue trixie: 0.5.3-1

    DEBIAN-CVE-2026-59894

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse/filters/output.py fails to escape existing backslashes before quotes in sqlparse.format output_format='python' and output_format='php' and the corresponding sqlformat -l modes, allowing crafted SQL to terminate the generated string and inject Python or PHP code when a downstream consumer executes or imports the generated source. This issue is fixed in version 0.6.0.

    Scope: local

    Debian bug: 1144932

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormopennot yet assigned Minor issue postponed bookworm: 0.4.2-1+deb12u1
    forkyopennot yet assigned forky: 0.5.5-2
    sidopennot yet assigned sid: 0.5.5-2
    trixieopennot yet assigned Minor issue trixie: 0.5.3-1

    DEBIAN-CVE-2024-4340

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

    Scope: local

    Debian bug: 1070148

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.4.2-1+deb12u1 bookworm: 0.4.2-1+deb12u1
    forkyresolvednot yet assigned 0.5.0-1 forky: 0.5.5-2
    sidresolvednot yet assigned 0.5.0-1 sid: 0.5.5-2
    trixieresolvednot yet assigned 0.5.0-1 trixie: 0.5.3-1

    DEBIAN-CVE-2023-30608

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    sqlparse is a non-validating SQL parser module for Python. In affected versions the SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). This issue was introduced by commit `e75e358`. The vulnerability may lead to Denial of Service (DoS). This issues has been fixed in sqlparse 0.4.4 by commit `c457abd5f`. Users are advised to upgrade. There are no known workarounds for this issue.

    Scope: local

    Debian bug: 1034615

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.4.2-1+deb12u1 bookworm: 0.4.2-1+deb12u1
    forkyresolvednot yet assigned 0.4.4-1 forky: 0.5.5-2
    sidresolvednot yet assigned 0.4.4-1 sid: 0.5.5-2
    trixieresolvednot yet assigned 0.4.4-1 trixie: 0.5.3-1

    DEBIAN-CVE-2026-54284

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by group_parenthesis and group_case, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split() before depth and token limits terminate processing. This issue is fixed in version 0.6.0.

    Scope: local

    Debian bug: 1144932

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormopennot yet assigned Minor issue, DoS postponed bookworm: 0.4.2-1+deb12u1
    forkyopennot yet assigned forky: 0.5.5-2
    sidopennot yet assigned sid: 0.5.5-2
    trixieopennot yet assigned Minor issue trixie: 0.5.3-1

    DEBIAN-CVE-2021-32839

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    sqlparse is a non-validating SQL parser module for Python. In sqlparse versions 0.4.0 and 0.4.1 there is a regular Expression Denial of Service in sqlparse vulnerability. The regular expression may cause exponential backtracking on strings containing many repetitions of '\r\n' in SQL comments. Only the formatting feature that removes comments from SQL statements is affected by this regular expression. As a workaround don't use the sqlformat.format function with keyword strip_comments=True or the --strip-comments command line flag when using the sqlformat command line tool. The issues has been fixed in sqlparse 0.4.2.

    Scope: local

    Debian bug: 994841

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.4.2-1 bookworm: 0.4.2-1+deb12u1
    forkyresolvednot yet assigned 0.4.2-1 forky: 0.5.5-2
    sidresolvednot yet assigned 0.4.2-1 sid: 0.5.5-2
    trixieresolvednot yet assigned 0.4.2-1 trixie: 0.5.3-1

    DEBIAN-CVE-2026-84305

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route attacker-controlled parenthesized tuple lists through ReindentFilter._get_offset() in sqlparse/filters/reindent.py, where _flatten_up_to_token() repeatedly rebuilds and joins the statement prefix. Thousands of offset calculations walk an expanding token tree, producing quadratic CPU consumption for inputs that remain below MAX_GROUPING_TOKENS and causing request delays, reduced throughput, or worker starvation. This issue is fixed in version 0.6.0.

    Scope: local

    Debian bug: 1146628

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormopennot yet assigned Minor issue, DoS postponed bookworm: 0.4.2-1+deb12u1
    forkyopennot yet assigned forky: 0.5.5-2
    sidopennot yet assigned sid: 0.5.5-2
    trixieopennot yet assigned Minor issue trixie: 0.5.3-1

    DEBIAN-CVE-2026-71491

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    sqlparse

    sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, group_comments in sqlparse/engine/grouping.py repeatedly rescans comment-only statements before the MAX_GROUPING_TOKENS guard, causing quadratic CPU consumption through sqlparse.parse() and sqlparse.format(sql, strip_comments=True). This issue is fixed in version 0.6.0.

    Scope: local

    Debian bug: 1144932

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormopennot yet assigned Minor issue, DoS postponed bookworm: 0.4.2-1+deb12u1
    forkyopennot yet assigned forky: 0.5.5-2
    sidopennot yet assigned sid: 0.5.5-2
    trixieopennot yet assigned Minor issue trixie: 0.5.3-1

    ELA-1341-1

    Vulnerability from osv_debian_elts – Updated: 2025-03-08 00:00 – Source website
    VLAI
    Related
    Impacted products
    Ecosystem Package Version
    Debian:8 sqlparse
    pkg:deb/debian/sqlparse?distro=jessie&repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts
    Affected: < 0.1.13-2+deb8u1 (ecosystem)
    Debian:9 sqlparse
    pkg:deb/debian/sqlparse?distro=stretch&repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts
    Affected: < 0.2.2-1+deb9u2 (ecosystem)
    Debian:10 sqlparse
    pkg:deb/debian/sqlparse?distro=buster&repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts
    Affected: < 0.2.4-1+deb10u2 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Debian:8",
            "name": "sqlparse",
            "purl": "pkg:deb/debian/sqlparse?distro=jessie\u0026repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.1.13-2+deb8u1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        },
        {
          "package": {
            "ecosystem": "Debian:9",
            "name": "sqlparse",
            "purl": "pkg:deb/debian/sqlparse?distro=stretch\u0026repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.2.2-1+deb9u2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        },
        {
          "package": {
            "ecosystem": "Debian:10",
            "name": "sqlparse",
            "purl": "pkg:deb/debian/sqlparse?distro=buster\u0026repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.2.4-1+deb10u2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "type": "security update"
      },
      "id": "ELA-1341-1",
      "modified": "2025-03-08T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/ELA-1341-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2024-4340"
        }
      ],
      "related": [
        "CVE-2024-4340"
      ]
    }

    ELA-871-1

    Vulnerability from osv_debian_elts – Updated: 2023-06-19 00:00 – Source website
    VLAI
    Related
    Impacted products
    Ecosystem Package Version
    Debian:9 sqlparse
    pkg:deb/debian/sqlparse?distro=stretch&repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts
    Affected: < 0.2.2-1+deb9u1 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Debian:9",
            "name": "sqlparse",
            "purl": "pkg:deb/debian/sqlparse?distro=stretch\u0026repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.2.2-1+deb9u1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "type": "security update"
      },
      "id": "ELA-871-1",
      "modified": "2023-06-19T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/ELA-871-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2023-30608"
        }
      ],
      "related": [
        "CVE-2023-30608"
      ]
    }