[CLSA-2026:1788370745] Fix CVE(s): CVE-2026-18503
Type:
security
Severity:
Low
Release date:
2026-09-02 17:39:17 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.6'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.
CVEs fixed:
Updated packages:
  • alt-python36_3.6.15-46_amd64.deb
    sha:d576626545df4c19a72418cbb0707893c9d1928a
  • alt-python36-debug_3.6.15-46_amd64.deb
    sha:172cbacb154f6ddfea9b97aebdefb1976f89b757
  • alt-python36-devel_3.6.15-46_amd64.deb
    sha:ef12a33c3802fc341b3178f2ae17fcd83d656fca
  • alt-python36-libs_3.6.15-46_amd64.deb
    sha:cedcd9a3dcb5d2766588f8ea2f794bd010b7d5c6
  • alt-python36-test_3.6.15-46_amd64.deb
    sha:68efa4535c0a2c0cfe227af40fb82aa36435433d
  • alt-python36-tkinter_3.6.15-46_amd64.deb
    sha:846313c79d7f39666d86e754e7e23e230fffe9d5
  • alt-python36-tools_3.6.15-46_amd64.deb
    sha:954cd7aabe20ac197563db343232269006e69d8f
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.