[CLSA-2026:1788268775] Fix of 43 CVEs
Type:
security
Severity:
Important
Release date:
2026-09-02 09:51:07 UTC
Description:
* SECURITY UPDATE: CPU denial-of-service in csv.Sniffer. Two independent regexes in Sniffer._guess_quote_and_delimiter() ran in super-linear time on samples reachable from the public csv.Sniffer.sniff() API (CWE-1176, algorithmic complexity). The quoted-field probe matched a field body with a lazy ".*?" under re.DOTALL, so a closing quote not followed by a delimiter was retried against every later quote in the sample: quadratic. The doubled-quote probe dq_regexp was unanchored, rescanned leading whitespace and ran even when no delimiter had been found, which is exponential on a sample carrying a run of quote characters. - debian/patches/CVE-2026-18503.patch: backport of cpython 19e5024518 (gh-109638, GH-154868) and fd78b565 (gh-98820, GH-154867), both in their upstream 3.10-branch form. Both commits are part of Python 3.10.21, the release the CVE record names as fixing the "0 to < 3.10.21" range, and gh-98820 alone leaves the doubled-quote probe exponential: with it applied on its own, sniff() on '"",'*100 + '"'*100 + '0' + '"'*100 + '0', on '"a"\n' + ' '*100000 with delimiters=',;', and on '"a" "b"\n' + ' '*100000 each still runs unbounded inside a single C-level re call. Field bodies are now matched by unrolled, unambiguous loops that cannot backtrack, the doubled-quote probe is anchored on whole fields and skipped when no delimiter was found, and sniff() normalises CRLF and CR to LF first so the probe's "$" means end of record. The 3.10 commits are used rather than the 3.11+ ones, which express the same fix with a possessive quantifier that Python 3.7's re module does not support. - CVE-2026-18503 * The Misc/NEWS.d fragments of both commits are omitted; this version ships a single Misc/NEWS file.
Updated packages:
  • alt-python37_3.7.17-31_amd64.deb
    sha:8845763d66228252cea20b12a0ef3628b45b158c
  • alt-python37-debug_3.7.17-31_amd64.deb
    sha:6da22979de39a20ad81ca2da57bf89a22606e22e
  • alt-python37-devel_3.7.17-31_amd64.deb
    sha:3a8a4df4276cf7fffee218243fc5444899f0f1fd
  • alt-python37-libs_3.7.17-31_amd64.deb
    sha:55636e6e509f53731979351bd23f08deb7d82823
  • alt-python37-test_3.7.17-31_amd64.deb
    sha:eba58570f71d3dbb49ab523a725d015f65997e4f
  • alt-python37-tkinter_3.7.17-31_amd64.deb
    sha:be52f1f71942874774d22dc509821e8e22363393
  • alt-python37-tools_3.7.17-31_amd64.deb
    sha:6f42ee6c4386a045643998afdfff2ce10a3e9191
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.