[CLSA-2026:1788345447] Fix CVE(s): CVE-2026-18503, CVE-2026-6879
Type:
security
Severity:
Low
Release date:
2026-09-11 10:04:39 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 2.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-python27_2.7.18-31_amd64.deb
    sha:5f00bbb9274a5532a8c8f59c92d17ff1f7b1ddc4
  • alt-python27-debug_2.7.18-31_amd64.deb
    sha:7d59d5dd882eaf1d4fab53f0b69a3b9b2ce3b9d2
  • alt-python27-devel_2.7.18-31_amd64.deb
    sha:c4747c0a01385202d69fcfa2633fb4c93184599a
  • alt-python27-idle_2.7.18-31_amd64.deb
    sha:22659c27f077974f46f6c07035011f0c9205444f
  • alt-python27-libs_2.7.18-31_amd64.deb
    sha:d358bd9e3c9b5f58db6402a99c2875e3d0cb3025
  • alt-python27-test_2.7.18-31_amd64.deb
    sha:2f2aafd85207120512b975f50fcd04b078d07691
  • alt-python27-tkinter_2.7.18-31_amd64.deb
    sha:ce900758bc8f78fbc4fb16d0042d7eda084c9190
  • alt-python27-tools_2.7.18-31_amd64.deb
    sha:15fb467dd94d785759f980b04b72345a45d0901d
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.