{
  "cveId": "CVE-2026-59893",
  "url": "https://patchblox.com/security/cve/CVE-2026-59893",
  "summary": "CVE-2026-59893 is fixed in 4 products on 1 platform, first by pypy-sqlparse 0.2.4-0.1ubuntu0.1\u002Besm1, released August 17, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "pypy-sqlparse: sqlparse is a non-validating SQL parser module for Python",
  "description": "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.",
  "published": "2026-08-17T11:17:00Z",
  "severity": "Medium",
  "cvss": 7.5,
  "epss": 0.00337,
  "epssPercentile": 0.27255,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "pypy-sqlparse",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.2.4-0.1ubuntu0.1\u002Besm1",
      "fix": "pypy-sqlparse 0.2.4-0.1ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-pypy-sqlparse-0.2.4-0.1ubuntu0.1-esm1",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "pypy-sqlparse",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.2.4-3ubuntu0.1\u002Besm1",
      "fix": "pypy-sqlparse 0.2.4-3ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-pypy-sqlparse-0.2.4-3ubuntu0.1-esm1",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "python-sqlparse",
      "release": "RHEL 10",
      "fixedVersion": "0.6.0-1.el10ap",
      "fix": "RHSA-2026:71112",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2026-71112",
      "released": "2026-08-17T17:43:48Z"
    },
    {
      "platform": "linux",
      "product": "python-sqlparse",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.2.4-0.1ubuntu0.1\u002Besm1",
      "fix": "python-sqlparse 0.2.4-0.1ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python-sqlparse-0.2.4-0.1ubuntu0.1-esm1",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "python-sqlparse",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "0.5.3-160000.4.1",
      "fix": "OPENSUSE-SU-2026:21690-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21690-1",
      "released": "2026-08-30T14:33:33Z"
    },
    {
      "platform": "linux",
      "product": "python-sqlparse",
      "release": "sles 15.6",
      "fixedVersion": "0.4.4-150600.3.9.1",
      "fix": "SUSE-SU-2026:3907-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3907-1",
      "released": "2026-09-01T09:10:50Z"
    },
    {
      "platform": "linux",
      "product": "python-sqlparse",
      "release": "sles 15.7",
      "fixedVersion": "0.4.4-150600.3.9.1",
      "fix": "SUSE-SU-2026:3907-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3907-1",
      "released": "2026-09-01T09:10:50Z"
    },
    {
      "platform": "linux",
      "product": "python-sqlparse",
      "release": "sles 16.0",
      "fixedVersion": "0.5.3-160000.4.1",
      "fix": "SUSE-SU-2026:23561-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23561-1",
      "released": "2026-08-30T14:33:20Z"
    },
    {
      "platform": "linux",
      "product": "python3-sqlparse",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.2.4-0.1ubuntu0.1\u002Besm1",
      "fix": "python3-sqlparse 0.2.4-0.1ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-sqlparse-0.2.4-0.1ubuntu0.1-esm1",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-sqlparse",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.2.4-3ubuntu0.1\u002Besm1",
      "fix": "python3-sqlparse 0.2.4-3ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-sqlparse-0.2.4-3ubuntu0.1-esm1",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-sqlparse",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "0.4.2-1ubuntu0.22.04.3",
      "fix": "python3-sqlparse 0.4.2-1ubuntu0.22.04.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-python3-sqlparse-0.4.2-1ubuntu0.22.04.3",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-sqlparse",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "0.4.4-1ubuntu0.2",
      "fix": "python3-sqlparse 0.4.4-1ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-python3-sqlparse-0.4.4-1ubuntu0.2",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-sqlparse",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "0.5.4-1ubuntu0.1",
      "fix": "python3-sqlparse 0.5.4-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-python3-sqlparse-0.5.4-1ubuntu0.1",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-sqlparse",
      "release": "sles 15.6",
      "fixedVersion": "0.4.2-150300.23.1",
      "fix": "SUSE-SU-2026:3906-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3906-1",
      "released": "2026-09-01T09:10:15Z"
    },
    {
      "platform": "linux",
      "product": "python3-sqlparse",
      "release": "sles 15.7",
      "fixedVersion": "0.4.2-150300.23.1",
      "fix": "SUSE-SU-2026:3906-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-3906-1",
      "released": "2026-09-01T09:10:15Z"
    },
    {
      "platform": "linux",
      "product": "sqlformat",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.2.4-0.1ubuntu0.1\u002Besm1",
      "fix": "sqlformat 0.2.4-0.1ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-sqlformat-0.2.4-0.1ubuntu0.1-esm1",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlformat",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.2.4-3ubuntu0.1\u002Besm1",
      "fix": "sqlformat 0.2.4-3ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-sqlformat-0.2.4-3ubuntu0.1-esm1",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlformat",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "0.4.2-1ubuntu0.22.04.3",
      "fix": "sqlformat 0.4.2-1ubuntu0.22.04.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-sqlformat-0.4.2-1ubuntu0.22.04.3",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlformat",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "0.4.4-1ubuntu0.2",
      "fix": "sqlformat 0.4.4-1ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-sqlformat-0.4.4-1ubuntu0.2",
      "released": "2026-08-17T11:18:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlformat",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "0.5.4-1ubuntu0.1",
      "fix": "sqlformat 0.5.4-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-sqlformat-0.5.4-1ubuntu0.1",
      "released": "2026-08-17T11:18:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}