<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T20:14:02.709453+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/brew-athenacli-cve-2026-84305</id>
    <title>BREW-athenacli-CVE-2026-84305 — sqlparse: Reindentation of tuple lists causes near-cap quadratic CPU consumption</title>
    <updated>2026-10-02T20:14:02.713994+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: athenacli</p>
<p>### Summary</p>
<p>When SQL is formatted with reindentation enabled, `ReindentFilter` repeatedly rebuilds prefixes of the current statement to calculate token offsets. An attacker who controls SQL sent to this opt-in formatting path can supply a parenthesized tuple list that remains just below the grouping-token cap. Thousands of offset calculations then traverse an expanding token tree, causing multi-second CPU consumption from an input of roughly 16 KB and degrading service availability.</p>
<p>### Details</p>
<p>`ReindentFilter._get_offset()` joins the tokens returned by `_flatten_up_to_token()` to calculate the current output position. Each call begins by flattening the current statement from its start and walks until the target token. Tuple-list reindentation invokes this calculation repeatedly as it processes many parenthesized values, so later calls redo an increasingly large amount of prior work.</p>
<p>The vulnerable path is reached through `sqlparse.format(sql, reindent=True)` and `sqlformat --reindent`. A carefully sized tuple list completes grouping below the configured token cap and then enters the expensive reindentation path; a slightly larger input may instead be rejected quickly by the cap.</p>
<p>Relevant code locations:</p>
<p>- `sqlparse/formatter.py:170` — enabling `ReindentFilter`
- `sqlparse/filters/reindent.py:30` — repeated flattening from the statement start
- `sqlparse/filters/reindent.py:44` — prefix joining for offset calculation
- `sqlparse/filters/reindent.py:216` — tuple-list pr…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/brew-athenacli-cve-2026-84305"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-84305</id>
    <title>CVE-2026-84305 — sqlparse: Reindentation of tuple lists causes near-cap quadratic CPU consumption</title>
    <updated>2026-10-02T20:14:02.714066+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> andialbrecht sqlparse</p>
<p>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.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-84305"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-cfqr-cjx5-5jcm</id>
    <title>GHSA-cfqr-cjx5-5jcm — sqlparse: Reindentation of tuple lists causes near-cap quadratic CPU consumption</title>
    <updated>2026-10-02T20:14:02.714096+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: sqlparse</p>
<p>### Summary</p>
<p>When SQL is formatted with reindentation enabled, `ReindentFilter` repeatedly rebuilds prefixes of the current statement to calculate token offsets. An attacker who controls SQL sent to this opt-in formatting path can supply a parenthesized tuple list that remains just below the grouping-token cap. Thousands of offset calculations then traverse an expanding token tree, causing multi-second CPU consumption from an input of roughly 16 KB and degrading service availability.</p>
<p>### Details</p>
<p>`ReindentFilter._get_offset()` joins the tokens returned by `_flatten_up_to_token()` to calculate the current output position. Each call begins by flattening the current statement from its start and walks until the target token. Tuple-list reindentation invokes this calculation repeatedly as it processes many parenthesized values, so later calls redo an increasingly large amount of prior work.</p>
<p>The vulnerable path is reached through `sqlparse.format(sql, reindent=True)` and `sqlformat --reindent`. A carefully sized tuple list completes grouping below the configured token cap and then enters the expensive reindentation path; a slightly larger input may instead be rejected quickly by the cap.</p>
<p>Relevant code locations:</p>
<p>- `sqlparse/formatter.py:170` — enabling `ReindentFilter`
- `sqlparse/filters/reindent.py:30` — repeated flattening from the statement start
- `sqlparse/filters/reindent.py:44` — prefix joining for offset calculation
- `sqlparse/filters/reindent.py:216` — tuple-list pr…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-cfqr-cjx5-5jcm"/>
  </entry>
</feed>
