SUSE-SU-2026:3978-1

Vulnerability from csaf_suse - Published: 2026-09-04 09:19 - Updated: 2026-09-17 16:45
Summary
Security update for python-sqlparse
Severity
Moderate
Notes
Title of the patch: Security update for python-sqlparse
Description of the patch: This update for python-sqlparse fixes the following issue: - CVE-2026-84305: Reindentation of tuple lists causes near-cap quadratic CPU consumption (bsc#1278097).
Patchnames: SUSE-2026-3978,SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-3978
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
Affected products
Product Identifier Version Remediation
Unresolved product id: SUSE Linux Enterprise Module for Package Hub 15 SP7:python2-sqlparse-0:0.2.4-150100.6.14.1.noarch —
Vendor Fix
Threats
Impact moderate

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for python-sqlparse",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for python-sqlparse fixes the following issue:\n\n- CVE-2026-84305: Reindentation of tuple lists causes near-cap quadratic CPU consumption (bsc#1278097).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-2026-3978,SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-3978",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3978-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2026:3978-1",
        "url": "https://www.suse.com/support/update/announcement/2026/suse-su-20263978-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2026:3978-1",
        "url": "https://lists.suse.com/pipermail/sle-security-updates/2026-September/028849.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1278097",
        "url": "https://bugzilla.suse.com/1278097"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-84305 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-84305/"
      }
    ],
    "title": "Security update for python-sqlparse",
    "tracking": {
      "current_release_date": "2026-09-17T16:45:55Z",
      "generator": {
        "date": "2026-09-04T09:19:34Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2026:3978-1",
      "initial_release_date": "2026-09-04T09:19:34Z",
      "revision_history": [
        {
          "date": "2026-09-04T09:19:34Z",
          "number": "1",
          "summary": "Current version"
        },
        {
          "date": "2026-09-16T19:52:06Z",
          "number": "2",
          "summary": "unknown changes"
        },
        {
          "date": "2026-09-16T20:54:59Z",
          "number": "3",
          "summary": "unknown changes"
        },
        {
          "date": "2026-09-17T16:45:55Z",
          "number": "4",
          "summary": "unknown changes"
        }
      ],
      "status": "final",
      "version": "4"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python2-sqlparse-0:0.2.4-150100.6.14.1.noarch",
                "product": {
                  "name": "python2-sqlparse-0:0.2.4-150100.6.14.1.noarch",
                  "product_id": "python2-sqlparse-0:0.2.4-150100.6.14.1.noarch",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:sqlparse_project:sqlparse:0.2.4:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/python2-sqlparse@0.2.4-150100.6.14.1?arch=noarch\u0026upstream=python-sqlparse-0:0.2.4-150100.6.14.1.src.rpm"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python3-sqlparse-0:0.2.4-150100.6.14.1.noarch",
                "product": {
                  "name": "python3-sqlparse-0:0.2.4-150100.6.14.1.noarch",
                  "product_id": "python3-sqlparse-0:0.2.4-150100.6.14.1.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/suse/python3-sqlparse@0.2.4-150100.6.14.1?arch=noarch\u0026upstream=python3-sqlparse-0:0.2.4-150100.6.14.1.src.rpm"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Module for Package Hub 15 SP7",
                "product": {
                  "name": "SUSE Linux Enterprise Module for Package Hub 15 SP7",
                  "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:packagehub:15:sp7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python2-sqlparse-0:0.2.4-150100.6.14.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP7",
          "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP7:python2-sqlparse-0:0.2.4-150100.6.14.1.noarch"
        },
        "product_reference": "python2-sqlparse-0:0.2.4-150100.6.14.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-84305",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-84305"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "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.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Linux Enterprise Module for Package Hub 15 SP7:python2-sqlparse-0:0.2.4-150100.6.14.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-84305",
          "url": "https://www.suse.com/security/cve/CVE-2026-84305"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1278097 for CVE-2026-84305",
          "url": "https://bugzilla.suse.com/1278097"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Linux Enterprise Module for Package Hub 15 SP7:python2-sqlparse-0:0.2.4-150100.6.14.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 4,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
          },
          "products": [
            "SUSE Linux Enterprise Module for Package Hub 15 SP7:python2-sqlparse-0:0.2.4-150100.6.14.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-09-04T09:19:34Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2026-84305"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…