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

Other Versions#


Project
Branch
Version
master
3.14.7
scarthgap
3.12.13

Patches#


#
Title
Author
Resolve
1
configure.ac, setup.py: do not add a curses include path from
Alexander Kanavin <alex.kanavin@gmail.com>
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
Patch #5
Richard Purdie <richard.purdie@linuxfoundation.org>
6
gh-107811: tarfile: treat overflow in UID/GID as failure to
Petr Viktorin <encukou@gmail.com>
7
Lib/sysconfig.py: use prefix value from build configuration
Alexander Kanavin <alex@linutronix.de>
8
setup.py: Do not detect multiarch paths when cross-compiling
Khem Raj <raj.khem@gmail.com>
9
python3: Fix make race
Richard Purdie <richard.purdie@linuxfoundation.org>
10
python3: Add target and native recipes
Khem Raj <raj.khem@gmail.com>
11
python-config: Revert to using distutils.sysconfig
Tyler Hall <tylerwhall@gmail.com>
12
distutils/sysconfig: append
Alexander Kanavin <alex.kanavin@gmail.com>
13
sysconfig.py: use platlibdir also for purelib
Alexander Kanavin <alex@linutronix.de>
14
Makefile: do not compile .pyc in parallel
Alexander Kanavin <alex.kanavin@gmail.com>
15
_tkinter module needs tk module along with tcl. tk is not yet
Andrei Gherzan <andrei@gherzan.ro>
16
Lib/pty.py: handle stdin I/O errors same way as master I/O
Alexander Kanavin <alex@linutronix.de>
17
Skip failing tests due to load variability on YP AB
Yi Fan Yu <yifan.yu@windriver.com>
18
Do not use the shell version of python-config that was
Alexander Kanavin <alex.kanavin@gmail.com>
19
Avoid shebang overflow on python-config.py
Paulo Neves <ptsneves@gmail.com>
20
Don't search system for headers/libraries
Jeremy Puhlman <jpuhlman@mvista.com>
21
test_storlines: skip due to load variability
Trevor Gamblin <tgamblin@baylibre.com>
22
Lib/cgi.py: Update the script as mentioned in the comment
Mark Hatle <mark.hatle@windriver.com>
23
Use FLAG_REF always for interned strings
Inada Naoki <songofacandy@gmail.com>
24
setup.py: do not report missing dependencies for disabled
Alexander Kanavin <alex.kanavin@gmail.com>
25
bpo-36852: proper detection of mips architecture for soft
Matthias Schoepfer <matthias.schoepfer@ithinx.io>
26
test_ctypes.test_find: skip without tools-sdk
Tim Orling <timothy.t.orling@intel.com>
27
Makefile.pre: use qemu wrapper when gathering profile data
Alexander Kanavin <alex.kanavin@gmail.com>
28
Do not add /usr/lib/termcap to linker flags to avoid host
Alexander Kanavin <alex.kanavin@gmail.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.
Exploitable
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
Mitgation of CVE-2026-4519 was incomplete. If the URL contained "%action" the mitigation could be bypassed for certain browser types the "webbrowser.open()" API could have commands injected into the underlying shell. See CVE-2026-4519 for details.
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().
Exploitable
DISPUTED: The project has clarified that the documentation was incorrect, and that pkgutil.get_data() has the same security model as open(). The documentation has been updated to clarify this point. There is no vulnerability in the function if following the intended security model. pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.
Exploitable
When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was more information to be processed. This can lead to data being accepted which may be processed differently by other implementations. Use "validate=True" to enable stricter processing of base64 data.
Exploitable
The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.
Exploitable
The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
Exploitable
CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.
Exploitable
tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself.  The extraction fallback validated the symlink at it's archived location but recreated it at the hardlink's shallower path, letting a relative target the filter judged contained escape the destination directory.  This allowed a malicious tar archive to create a symlink pointing outside the destination, enabling out-of-destination file reads or writes. This was an incomplete fix of CVE-2025-4330.
Exploitable
When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value.
Exploitable
The poplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Exploitable
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
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.