Logo
componentpython3
Name
python3
Version
3.12.13
Type
library
Description
The Python Programming Language
Licenses
PSF-2.0
PURL
-
CPE
cpe:2.3:*:python:python:3.12.13:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
3.10.20
master
3.14.6

Patches#


#
Title
Author
Resolve
1
configure.ac: do not add a curses include path from the host
Alexander Kanavin <alex@linutronix.de>
2
python3: use cc_basename to replace CC for checking compiler
Changqing Li <changqing.li@windriver.com>
3
test_locale.py: correct the test output format
Mingli Yu <mingli.yu@windriver.com>
4
configure.ac: add CROSSPYTHONPATH into PYTHONPATH for
Ricardo Ribalda <ricardo@ribalda.com>
5
test_readline: skip limited history test
Trevor Gamblin <tgamblin@baylibre.com>
6
python3: Ensure stale empty python module directories don't
Richard Purdie <richard.purdie@linuxfoundation.org>
7
gh-107811: tarfile: treat overflow in UID/GID as failure to
Petr Viktorin <encukou@gmail.com>
8
test_deadlock: skip problematic test
Trevor Gamblin <tgamblin@baylibre.com>
9
Lib/sysconfig.py: use prefix value from build configuration
Alexander Kanavin <alex@linutronix.de>
10
Update test_sysconfig for posix_user purelib
Wentao Zhang <wentao.zhang@windriver.com>
11
python3: Fix make race
Richard Purdie <richard.purdie@linuxfoundation.org>
12
sysconfig.py: use platlibdir also for purelib
Alexander Kanavin <alex@linutronix.de>
13
Lib/pty.py: handle stdin I/O errors same way as master I/O
Alexander Kanavin <alex@linutronix.de>
14
Skip failing tests due to load variability on YP AB
Yi Fan Yu <yifan.yu@windriver.com>
15
Avoid shebang overflow on python-config.py
Paulo Neves <ptsneves@gmail.com>
16
test_storlines: skip due to load variability
Trevor Gamblin <tgamblin@baylibre.com>
17
gh-146211: Reject CR/LF in HTTP tunnel request headers
Seth Larson <seth@python.org>
CVE-2026-1502
18
Lib/cgi.py: Update the script as mentioned in the comment
Mark Hatle <mark.hatle@windriver.com>
19
[3.13] gh-148395: Fix a possible UAF in
"Miss Islington (bot)"
CVE-2026-6100
20
test_shutdown: skip problematic test
Trevor Gamblin <tgamblin@baylibre.com>
21
test_ctypes.test_find: skip without tools-sdk
Tim Orling <timothy.t.orling@intel.com>
22
skip no_stdout_fileno test due to load variability
Trevor Gamblin <tgamblin@baylibre.com>
23
Makefile.pre: use qemu wrapper when gathering profile data
Alexander Kanavin <alex.kanavin@gmail.com>
24
test_active_children: skip problematic test
Trevor Gamblin <tgamblin@baylibre.com>

Vulnerabilities#


Name
Analysis
Description
Exploitable
`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\r\n\r\nFully mitigating this vulnerability requires both updating libexpat to 2.8.0 or later and applying this patch.
Patched
Use-after-free (UAF) was possible in the `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a memory allocation fails with a `MemoryError` and the decompression instance is re-used. This scenario can be triggered if the process is under memory pressure. The fix cleans up the dangling pointer in this specific error condition. The vulnerability is only present if the program re-uses decompressor instances across multiple decompression calls even after a `MemoryError` is raised during decompression. Using the helper functions to one-shot decompress data such as `lzma.decompress()`, `bz2.decompress()`, `gzip.decompress()`, and `zlib.decompress()` are not affected as a new decompressor instance is used per call. If the decompressor instance is not re-used after an error condition, this usage is similarly not vulnerable.
Exploitable
http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.
Exploitable
The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior rejects leading dashes. Users are recommended to sanitize URLs prior to passing to webbrowser.open().
Exploitable
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().
Patched
CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.
Exploitable
When loading a plist file, the plistlib module reads data in size specified by the file itself, meaning a malicious file can cause OOM and DoS issues
Exploitable
The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.
Exploitable
When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the "base64" module the characters "+/" will always be accepted, regardless of the value of "altchars" parameter, typically used to establish an "alternative base64 alphabet" such as the URL safe alphabet. This behavior matches what is recommended in earlier base64 RFCs, but newer RFCs now recommend either dropping characters outside the specified base64 alphabet or raising an error. The old behavior has the possibility of causing data integrity issues. This behavior can only be insecure if your application uses an alternate base64 alphabet (without "+/"). If your application does not use the "altchars" parameter or the urlsafe_b64decode() function, then your application does not use an alternative base64 alphabet. The attached patches DOES NOT make the base64-decode behavior raise an error, as this would be a change in behavior and break existing programs. Instead, the patch deprecates the behavior which will be replaced with the newly recommended behavior in a future version of Python. Users are recommended to mitigate by verifying user-controlled inputs match the base64 alphabet they are expecting or verify that their application would not be affected if the b64decode() functions accepted "+" or "/" outside of altchars.
Exploitable
When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability can be impacted when building excessively nested documents.
False Positive
In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured. The installer may allow a local attacker to add user-writable directories to the system search path. To exploit, an administrator must have installed Python for all users and enabled PATH entries. A non-administrative user can trigger a repair that incorrectly adds user-writable paths into PATH, enabling search-path hijacking of other users and system services. This affects Python (CPython) through 3.7.12, 3.8.x through 3.8.12, 3.9.x through 3.9.10, and 3.10.x through 3.10.2.
False Positive
In Python 3.6 through 3.6.10, 3.7 through 3.7.8, 3.8 through 3.8.4rc1, and 3.9 through 3.9.0b4 on Windows, a Trojan horse python3.dll might be used in cases where CPython is embedded in a native application. This occurs because python3X.dll may use an invalid search path for python3.dll loading (after Py_SetPath has been used). NOTE: this issue CANNOT occur when using python.exe from a standard (non-embedded) Python installation on Windows.
False Positive
An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the host component of a URL) followed by an HTTP header. This is similar to the CVE-2019-9740 query string issue and the CVE-2019-9947 path string issue. (This is not exploitable when glibc has CVE-2016-10739 fixed.). This is fixed in: v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1; v3.6.11, v3.6.11rc1, v3.6.12; v3.7.8, v3.7.8rc1, v3.7.9; v3.8.3, v3.8.3rc1, v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1.