p PatchFirst

PatchFirst · Latest vulnerabilities

Python stack vulnerabilities · Page 155

Vulnerabilities published for Python in the last 30 days: 352. Listed in the KEV catalogue: 1.

Filter vulnerabilities
Python

Vulnerabilities: 7135

  1. CVE-2025-50460

    Critical · CVSS 9.8EPSS 2.88%No fix published

    CVE-2025-50460

    A remote code execution (RCE) vulnerability exists in the ms-swift project version 3.3.0 due to unsafe deserialization in tests/run.py using yaml.load() from the PyYAML library (versions = 5.3.1). If an attacker can control the content of the YAML configuration file passed to the --run_config parameter, arbitrary code can be executed during deserialization. This can lead to full system compromise. The vulnerability is triggered when a malicious YAML file is loaded, allowing the execution of arbitrary Python commands such as os.system(). It is recommended to upgrade PyYAML to version 5.4 or higher, and to use yaml.safe_load() to mitigate the i

    Published Updated
  2. CVE-2025-48073

    Medium · CVSS 4.6EPSS 0.23%Fix available

    OpenEXR ScanLineProcess::run_fill NULL Pointer Write In "reduceMemory" Mode

    OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In version 3.3.2, when reading a deep scanline image with a large sample count in reduceMemory mode, it is possible to crash a target application with a NULL pointer dereference in a write operation. This is fixed in version 3.3.3.

    • Update to 3.3.3
    Published Updated
  3. CVE-2025-48072

    Medium · CVSS 6.8EPSS 0.58%Fix available

    OpenEXR's Inaccurate Pointer Arithmetic can Cause an Out of Bounds Heap

    OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. Version 3.3.2 is vulnerable to a heap-based buffer overflow during a read operation due to bad pointer math when decompressing DWAA-packed scan-line EXR files with a maliciously forged chunk. This is fixed in version 3.3.3.

    • Update to 3.3.3
    Published Updated
  4. CVE-2025-48071

    High · CVSS 8.4EPSS 0.39%Fix available

    OpenEXR's Forged Unpacked Size can Lead to Heap-Based Buffer Overflow in Deep Scanline Parsing

    OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In versions 3.3.2 through 3.3.0, there is a heap-based buffer overflow during a write operation when decompressing ZIPS-packed deep scan-line EXR files with a maliciously forged chunk header. This is fixed in version 3.3.3.

    • Update to 3.3.3
    Published Updated
  5. GHSA-jxr6-qrxx-2ph2

    Critical · CVSS 9.3No fix published

    num2words subjected to phishing attack, two versions published containing malware

    The `num2words` project was compromised via a phishing attack and two new versions were uploaded to PyPI containing malicious code. The affected versions have been removed from PyPI, and users are advised to remove the affected versions from their environments.

    Published Updated
  6. PYSEC-2025-72

    Not ratedNo fix published

    After a successful phishing attack, new versions of `num2words` were published containing malware.

    The `num2words` project was compromised via a phishing attack and two new versions were uploaded to PyPI containing malicious code. The affected versions have been removed from PyPI, and users are advised to remove the affected versions from their environments.

    Published Updated
  7. GHSA-r54c-2xmf-2cf3

    High · CVSS 7.5No fix published

    MS SWIFT Deserialization RCE Vulnerability

    This appears to be a security vulnerability report describing a remote code execution (RCE) exploit in the ms-swift framework through malicious pickle deserialization in adapter model files. The vulnerability allows arbitrary command execution when loading specially crafted adapter models from ModelScope. This occurs when using machine torch version < 2.6.0, while ms-swift accepts torch version >= 2.0 **I. Detailed Description:** 1. Install ms-swift ``` pip install ms-swift -U ``` 2. Start web-ui ``` swift web-ui --lang en ``` 3. After startup, you can access [http://localhost:7860/](http://localhost:7860/) through your browser to see the

    Published Updated
  8. CVE-2025-54589

    Medium · CVSS 6.3EPSS 2.38%Public exploitFix available

    copyparty Reflected XSS via Filter Parameter

    Copyparty is a portable file server. In versions 1.18.6 and below, when accessing the recent uploads page at `/?ru`, users can filter the results using an input field at the top. This field appends a filter parameter to the URL, which reflects its value directly into a `<script>` block without proper escaping, allowing for reflected Cross-Site Scripting (XSS) and can be exploited against both authenticated and unauthenticated users. This is fixed in version 1.18.7.

    • Update to 1.18.7
    Published Updated
  9. CVE-2025-45768

    High · CVSS 7EPSS 0.19%Fix available

    CVE-2025-45768

    pyjwt v2.10.1 was discovered to contain weak encryption. NOTE: this is disputed by the Supplier because the key length is chosen by the application that uses the library (admittedly, library users may benefit from a minimum value and a mechanism for opting in to strict enforcement).

    • Update to 2.11.0-2
    Published Updated
  10. CVE-2025-54433

    High · CVSS 7.2EPSS 0.66%Fix available

    Bugsink is vulnerable to Path Traversal attacks via event_id in ingestion

    Bugsink is a self-hosted error tracking service. In versions 1.4.2 and below, 1.5.0 through 1.5.4, 1.6.0 through 1.6.3, and 1.7.0 through 1.7.3, ingestion paths construct file locations directly from untrusted event_id input without validation. A specially crafted event_id can result in paths outside the intended directory, potentially allowing file overwrite or creation in arbitrary locations. Submitting such input requires access to a valid DSN, potentially exposing them. If Bugsink runs in a container, the effect is confined to the container’s filesystem. In non-containerized setups, the overwrite may affect other parts of the system acce

    • Update to 1.4.3
    • Update to 1.5.5
    • Update to 1.6.4
    • Update to 1.7.4
    Published Updated
  11. GHSA-3wwm-hjv7-23r3

    Medium · CVSS 4.3No fix published

    Pyload log Injection via API /json/add_package in add_name parameter

    ### Summary A log injection vulnerability was identified in `pyload` in API `/json/add_package`. This vulnerability allows user with add packages permission to inject arbitrary messages into the logs gathered by `pyload`. ### Details `pyload` will generate a log entry when creating new package using API `/json/add_package`. This entry will be in the form of `Added package 'NAME_OF_PACKAGE' containing 'NUMBER_OF_LINKS' links`. However, when supplied with the name of new package containing a newline, this newline is not properly escaped. Newlines are also the delimiter between log entries. This allows the attacker to inject new log entries into

    Published Updated
  12. CVE-2025-54381

    Critical · CVSS 9.9EPSS 13.18%Fix available

    BentoML is Vulnerable to an SSRF Attack Through File Upload Processing

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.0 until 1.4.19, the file upload processing system contains an SSRF vulnerability that allows unauthenticated remote attackers to force the server to make arbitrary HTTP requests. The vulnerability stems from the multipart form data and JSON request handlers, which automatically download files from user-provided URLs without validating whether those URLs point to internal network addresses, cloud metadata endpoints, or other restricted resources. The documentation explicitly promotes this URL-based file upload feature, mak

    • Update to 1.4.19
    Published Updated
  13. CVE-2025-54423

    Medium · CVSS 5.4EPSS 0.47%Fix available

    copyparty has a DOM-Based XSS vulnerability when displaying multimedia metadata

    copyparty is a portable file server. In versions up to and including versions 1.18.4, an unauthenticated attacker is able to execute arbitrary JavaScript code in a victim's browser due to improper sanitization of multimedia tags in music files, including m3u files. This is fixed in version 1.18.5.

    • Update to 1.18.5
    Published Updated
  14. CVE-2025-8194

    High · CVSS 7.5EPSS 0.76%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 2.7.12-1ubuntu0~16.04.18+esm17
    • Update to 2.7.17-1~18.04ubuntu1.13+esm12
    • Update to 2.7.6-8ubuntu0.6+esm26
    • Update to 3.10.12-1~22.04.11
    • Update to 3.10.19
    • Update to 3.11.14
    • Update to 3.11.2-6+deb12u7
    • Update to 3.12.12
    • Update to 3.13.5-2+deb13u1
    • Update to 3.13.6
    • Update to 3.14.0rc2
    • Update to 3.4.3-1ubuntu1~14.04.7+esm16
    • Update to 3.5.2-2ubuntu0~16.04.13+esm19
    • Update to 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7
    • Update to 3.6.9-1~18.04ubuntu1.13+esm6
    • Update to 3.7.5-2ubuntu1~18.04.2+esm7
    • Update to 3.8.0-3ubuntu1~18.04.2+esm6
    • Update to 3.8.10-0ubuntu1~20.04.18+esm2
    • Update to 3.9.24
    • Update to 3.9.5-3ubuntu0~20.04.1+esm6
    • Update to 7.3.21+dfsg-1
    Published Updated
  15. CVE-2025-5120

    High · CVSS 7.6EPSS 31.24%Fix available

    Sandbox Escape Vulnerability in huggingface/smolagents

    A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately restricts Python code execution despite employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential integration-level

    • Update to 1.17.0
    Published Updated
  16. CVE-2025-54413

    High · CVSS 8.7EPSS 0.16%Fix available

    skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time

    skops is a Python library which helps users share and ship their scikit-learn based models. Versions 0.11.0 and below contain an inconsistency in MethodNode, which can be exploited to access unexpected object fields through dot notation. This can be used to achieve arbitrary code execution at load time. While this issue may seem similar to GHSA-m7f4-hrc6-fwg3, it is actually more severe, as it relies on fewer assumptions about trusted types. This is fixed in version 12.0.0.

    • Update to 0.12.0
    Published Updated
  17. CVE-2025-54412

    High · CVSS 8.7EPSS 0.16%Fix available

    skops' Inconsistent Trusted Type Validation Enables Hidden `operator` Methods Execution

    skops is a Python library which helps users share and ship their scikit-learn based models. Versions 0.11.0 and below contain a inconsistency in the OperatorFuncNode which can be exploited to hide the execution of untrusted operator methods. This can then be used in a code reuse attack to invoke seemingly safe functions and escalate to arbitrary code execution with minimal and misleading trusted types. This is fixed in version 0.12.0.

    • Update to 0.12.0
    Published Updated
  18. CVE-2025-54379

    High · CVSS 8.9EPSS 0.87%No fix published

    eKuiper API endpoints handling SQL queries with user-controlled table names.

    LF Edge eKuiper is a lightweight IoT data analytics and stream processing engine running on resource-constraint edge devices. In versions before 2.2.1, there is a critical SQL Injection vulnerability in the getLast API functionality of the eKuiper project. This flaw allows unauthenticated remote attackers to execute arbitrary SQL statements on the underlying SQLite database by manipulating the table name input in an API request. Exploitation can lead to data theft, corruption, or deletion, and full database compromise. This is fixed in version 2.2.1.

    Published Updated

Check your server

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

Check your server →