Kernel Kit / Infix / v26.10.0latest
CVE-2026-3644
6.0mediumpython33.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
- github.com/python/cpython/commit/3974092b037f9a3b000fb15b48ea61ce3b25d330
- github.com/python/cpython/commit/556aa098e738b127c714866f819b4abe2f7593d8
- github.com/python/cpython/commit/57e88c1cf95e1481b94ae57abe1010469d47a6b4
- github.com/python/cpython/commit/62ceb396fcbe69da1ded3702de586f4072b590dd
- github.com/python/cpython/commit/d16ecc6c3626f0e2cc8f08c309c83934e8a979dd
- github.com/python/cpython/commit/dae4b1a21f8df4570e30986affd61bbe4ade4cef
- github.com/python/cpython/issues/145599
- github.com/python/cpython/pull/145600
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
'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
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)
|= operator routes through the validated update()
output/build/python3-3.12.14/Lib/http/cookies.py:344-346 (Morsel.__ior__)
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__)
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)
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
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.