bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-3644

6.0medium

python33.12.14 · 3.12.12 · 3.12.9in 4 of 4 releases

Reach python3 · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output().

Published 2026-03-16NVD

CVSS 4.0Network · low privileges · no user interaction

How it is reached

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
Low
User interaction
None

What it costs

Confidentiality
Low
Integrity
High
Availability
None

What it costs other systems

Confidentiality
None
Integrity
None
Availability
None

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

References 9
Review Av26.10.0x86_64False positive✓ accepted by a member, 2026-11-17 · settles 4 of 8

Fable 5.1 · high confidence · 2026-11-05

CVE-2026-3644 (gh-145599) is fixed upstream in Python 3.12.14 itself, the exact version in this build; the NVD range that includes 3.12.14 is wrong.

The unpatched source in output/build/python3-3.12.14/Lib/http/cookies.py already contains the control-character checks in Morsel.update(), __ior__ (via update), __setstate__ and Morsel.js_output() (which BaseCookie.js_output() delegates to), and Misc/NEWS for the 3.12.14 release explicitly lists gh-145599 / CVE-2026-3644 as addressed.

No Buildroot patch is needed; the 12 applied patches are build/feature-option patches unrelated to http.cookies.

Evidence 7
  1. 'What's New in Python 3.12.14 final? Release date: 2026-08-12' section contains 'gh-145599: Reject control characters in http.cookies.Morsel update and BaseCookie.js_output. This addresses CVE-2026-3644.'

    output/build/python3-3.12.14/Misc/NEWS:5-9,136-139

  2. update() calls _has_control_character(key, val) and raises CookieError — the patched path

    output/build/python3-3.12.14/Lib/http/cookies.py:332-342 (Morsel.update)

  3. |= operator routes through the validated update()

    output/build/python3-3.12.14/Lib/http/cookies.py:344-346 (Morsel.__ior__)

  4. unpickling path validates key/value/coded_value with _has_control_character

    output/build/python3-3.12.14/Lib/http/cookies.py:372-380 (Morsel.__setstate__)

  5. js_output validates OutputString() for control characters; BaseCookie.js_output delegates to the validated Morsel.js_output

    output/build/python3-3.12.14/Lib/http/cookies.py:391-395 (Morsel.js_output) and :536-541 (BaseCookie.js_output)

  6. Only the 12 Buildroot build-option patches are applied; none touch Lib/http/cookies.py, so the shipped file is upstream 3.12.14 content

    output/build/python3-3.12.14/.applied_patches_list

  7. PYTHON3_VERSION = 3.12.14, matching the fixed upstream release

    buildroot/package/python3/python3.mk:8

Version and patches

Upstream fix for CVE-2026-3644 (gh-145599, PR #145600, backport commits listed in the advisory) landed in the 3.12 branch before 3.12.14 (released 2026-08-12) and is recorded in that release's NEWS. Affected versions are 3.12.x < 3.12.14 (and corresponding earlier 3.9–3.14 releases). This build uses exactly 3.12.14, so NVD's CPE match cpe:2.3:a:python:python:3.12.14 is a bad range. No Buildroot patch required or applied for this CVE.

Recommendation

Document as N/A (false positive — fixed in 3.12.14). No upgrade or backport needed. Optionally add CVE-2026-3644 to PYTHON3_IGNORE_CVES or flag the NVD range to Buildroot for the CVE tracker.

Open questions

None material. Note the task text calls python3 a "host package" but output/.config shows BR2_PACKAGE_PYTHON3=y (target); irrelevant to the verdict since the fix is present either way.

Members of Kernel Kit decide. Sign in if you are one.