p PatchFirst

PatchFirst · Latest vulnerabilities

python3.5 vulnerabilities · Page 3

Vulnerabilities published for python3.5 in the last 30 days: 5. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 80

  1. CVE-2025-12084

    Medium · CVSS 6.3EPSS 0.8%Fix available

    Quadratic complexity in node ID cache clearing

    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.

    • Update to 3.5.2-2ubuntu0~16.04.13+esm21
    Published Updated
  2. CVE-2025-8291

    Medium · CVSS 4.3EPSS 0.47%Fix available

    ZIP64 End of Central Directory (EOCD) Locator record offset not checked

    The 'zipfile' module would not check the validity of the ZIP64 End of Central Directory (EOCD) Locator record offset value would not be used to locate the ZIP64 EOCD record, instead the ZIP64 EOCD record would be assumed to be the previous record in the ZIP archive. This could be abused to create ZIP archives that are handled differently by the 'zipfile' module compared to other ZIP implementations. Remediation maintains this behavior, but checks that the offset specified in the ZIP64 EOCD Locator record matches the expected value.

    • Update to 3.5.2-2ubuntu0~16.04.13+esm20
    Published Updated
  3. CVE-2025-8194

    High · CVSS 7.5EPSS 0.71%Fix available

    Tarfile infinite loop during parsing with negative member offset

    There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

    • Update to 3.5.2-2ubuntu0~16.04.13+esm19
    Published Updated
  4. CVE-2025-1795

    Low · CVSS 2.3EPSS 0.63%No fix published

    Mishandling of comma during folding and unicode-encoding of email headers

    During an address list folding when a separating comma ends up on a folded line and that line is to be unicode-encoded then the separator itself is also unicode-encoded. Expected behavior is that the separating comma remains a plan comma. This can result in the address header being misinterpreted by some mail servers.

    Published Updated
  5. CVE-2025-0938

    Medium · CVSS 6.3EPSS 1.56%Fix available

    URL parser allowed square brackets in domain names

    The Python standard library functions `urllib.parse.urlsplit` and `urlparse` accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and other specification-compliant URL parsers.

    • Update to 3.5.2-2ubuntu0~16.04.13+esm16
    Published Updated
  6. CVE-2024-11168

    Medium · CVSS 6.3EPSS 0.66%Fix available

    Improper validation of IPv6 and IPvFuture addresses

    The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that weren't IPv6 or IPvFuture. This behavior was not conformant to RFC 3986 and potentially enabled SSRF if a URL is processed by more than one URL parser.

    • Update to 3.5.2-2ubuntu0~16.04.13+esm16
    Published Updated
  7. CVE-2024-9287

    Medium · CVSS 5.3EPSS 0.65%Fix available

    Virtual environment (venv) activation scripts don't quote paths

    A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie "./venv/bin/python") are not affected.

    • Update to 3.5.2-2ubuntu0~16.04.13+esm16
    Published Updated
  8. CVE-2024-7592

    High · CVSS 7.5EPSS 2.3%Fix available

    Quadratic complexity parsing cookies with backslashes

    There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.

    • Update to 3.5.2-2ubuntu0~16.04.13+esm14
    Published Updated
  9. CVE-2024-5642

    Medium · CVSS 6.5EPSS 0.74%No fix published

    Buffer overread when using an empty list with SSLContext.set_npn_protocols()

    CPython 3.9 and earlier doesn't disallow configuring an empty list ("[]") for SSLContext.set_npn_protocols() which is an invalid value for the underlying OpenSSL API. This results in a buffer over-read when NPN is used (see CVE-2024-5535 for OpenSSL). This vulnerability is of low severity due to NPN being not widely used and specifying an empty list likely being uncommon in-practice (typically a protocol name would be configured).

    Published Updated
  10. CVE-2024-4032

    High · CVSS 7.5EPSS 1.08%Fix available

    Incorrect IPv4 and IPv6 private ranges

    The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as “globally reachable” or “private”. This affected the is_private and is_global properties of the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address, and ipaddress.IPv6Network classes, where values wouldn’t be returned in accordance with the latest information from the IANA Special-Purpose Address Registries. CPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior.

    • Update to 3.5.2-2ubuntu0~16.04.13+esm16
    Published Updated
  11. CVE-2023-6597

    High · CVSS 7.8EPSS 0.31%Fix available

    CVE-2023-6597

    An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.TemporaryDirectory class would dereference symlinks during cleanup of permissions-related errors. This means users which can run privileged programs are potentially able to modify permissions of files referenced by symlinks in some circumstances.

    • Update to 3.5.2-2ubuntu0~16.04.13+esm13
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →