Lucene search
+L
Osv PsfRecent

201 matches found

osv_psf
osv_psf
•added 2025/12/01 6:13 p.m.•9 views

PSF-2025-15

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...

5.5CVSS6.7AI score0.00223EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2025/12/01 6:02 p.m.•15 views

PSF-2025-14

When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server to cause the client to read large amounts of data into memory, potentially causing OOM or other DoS...

7.5CVSS7.4AI score0.01631EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2025/10/31 4:41 p.m.•15 views

PSF-2025-13

If the value passed to os.path.expandvars is user-controlled a performance degradation is possible when expanding environment variables...

5.5CVSS6.5AI score0.00149EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2025/10/07 6:10 p.m.•21 views

PSF-2025-12

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 Z...

4.3CVSS6.4AI score0.00466EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2025/07/28 6:42 p.m.•16 views

PSF-2025-11

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...

7.5CVSS7.1AI score0.00667EPSS
SaveExploits0References11
osv_psf
osv_psf
•added 2025/06/17 1:39 p.m.•13 views

PSF-2025-10

The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service...

4.3CVSS6.4AI score0.00589EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2025/06/03 12:59 p.m.•21 views

PSF-2025-5

Allows modifying some file metadata e.g. last modified with filter="data" or file permissions chmod with filter="tar" of files outside the extraction directory. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall or...

5.3CVSS8.1AI score0.00768EPSS
SaveExploits1References13
osv_psf
osv_psf
•added 2025/06/03 12:59 p.m.•14 views

PSF-2025-8

When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0 in affected versions is that the member would still be extracted and not skipped...

7.5CVSS7.7AI score0.0059EPSS
SaveExploits1References11
osv_psf
osv_psf
•added 2025/06/03 12:59 p.m.•24 views

PSF-2025-6

Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall or...

7.5CVSS9.8AI score0.01385EPSS
SaveExploits7References12
osv_psf
osv_psf
•added 2025/06/03 12:58 p.m.•20 views

PSF-2025-7

Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall or...

7.5CVSS9.8AI score0.00939EPSS
SaveExploits2References12
osv_psf
osv_psf
•added 2025/06/03 12:58 p.m.•17 views

PSF-2025-9

Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall or TarFile.extract using the filter= parameter with a value of...

9.4CVSS9.8AI score0.0143EPSS
SaveExploits11References12
osv_psf
osv_psf
•added 2025/05/15 1:29 p.m.•14 views

PSF-2025-4

There is an issue in CPython when using bytes.decode"unicodeescape", error="ignore|replace". If you are not using the "unicodeescape" encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handler and instead wrap the bytes.decode call in ...

5.9CVSS9.5AI score0.00225EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2025/02/28 6:59 p.m.•36 views

PSF-2025-3

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...

2.3CVSS6.4AI score0.00628EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2025/02/14 4:18 p.m.•17 views

PSF-2025-2

There is a defect in the CPython standard library module “mimetypes” where on Windows the default list of known file locations are writable meaning other users can create invalid files to cause MemoryError to be raised on Python runtime startup or have file extensions be interpreted as the...

2.3CVSS6.2AI score0.00533EPSS
SaveExploits0References3
osv_psf
osv_psf
•added 2025/01/31 5:51 p.m.•33 views

PSF-2025-1

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...

6.3CVSS6.5AI score0.01556EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2024/12/06 3:19 p.m.•25 views

PSF-2024-14

Starting in Python 3.12.0, the asyncio.SelectorSocketTransport.writelines method would not "pause" writing and signal to the Protocol to drain the buffer to the wire once the write buffer reached the "high-water mark". Because of this, Protocols would not periodically drain the write buffer...

8.7CVSS7.2AI score0.01868EPSS
SaveExploits0References6
osv_psf
osv_psf
•added 2024/11/12 9:22 p.m.•25 views

PSF-2024-13

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...

6.3CVSS6.4AI score0.00656EPSS
SaveExploits0References7
osv_psf
osv_psf
•added 2024/10/22 4:34 p.m.•30 views

PSF-2024-12

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...

7.8CVSS6.5AI score0.00648EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2024/09/03 12:29 p.m.•22 views

PSF-2024-11

There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives...

7.5CVSS7AI score0.02203EPSS
SaveExploits2References10
osv_psf
osv_psf
•added 2024/08/22 6:45 p.m.•30 views

PSF-2024-10

There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive for example, methods of "zipfile.Path" like "namelist", "iterdir", etc...

8.7CVSS7.3AI score0.01275EPSS
SaveExploits0References16
osv_psf
osv_psf
•added 2024/08/19 7:06 p.m.•39 views

PSF-2024-9

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 resourc...

7.5CVSS6.8AI score0.02303EPSS
SaveExploits1References10
osv_psf
osv_psf
•added 2024/08/01 1:40 p.m.•25 views

PSF-2024-8

There is a MEDIUM severity vulnerability affecting CPython. The email module didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized...

5.5CVSS7.2AI score0.011EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2024/07/29 9:54 p.m.•28 views

PSF-2024-7

The “socket” module provides a pure-Python fallback to the socket.socketpair function for platforms that don’t support AFUNIX, such as Windows. This pure-Python implementation uses AFINET or AFINET6 to create a local connected pair of sockets. The connection between the two sockets was not verifi...

5.1CVSS6AI score0.00247EPSS
SaveExploits0References18
osv_psf
osv_psf
•added 2024/06/27 9:05 p.m.•45 views

PSF-2024-6

CPython 3.9 and earlier doesn't disallow configuring an empty list "" for SSLContext.setnpnprotocols 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...

6.5CVSS6.7AI score0.00744EPSS
SaveExploits0References8
osv_psf
osv_psf
•added 2024/06/17 3:09 p.m.•35 views

PSF-2024-4

A defect was discovered in the Python “ssl” module where there is a memory race condition with the ssl.SSLContext methods “certstorestats” and “getcacerts”. The race condition can be triggered if the methods are called at the same time as certificates are loaded into the SSLContext, such as durin...

7.4CVSS6.6AI score0.0081EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2024/06/17 3:05 p.m.•33 views

PSF-2024-5

The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as “globally reachable” or “private”. This affected the isprivate and isglobal properties of the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address, and...

7.5CVSS6.7AI score0.01079EPSS
SaveExploits0References13
osv_psf
osv_psf
•added 2024/05/07 9:02 p.m.•36 views

PSF-2024-3

On Windows a directory returned by tempfile.mkdtemp would not always have permissions set to restrict reading and writing to the temporary directory by other users, instead usually inheriting the correct permissions from the default location. Alternate configurations or users without a profile...

7.1CVSS7.1AI score0.00303EPSS
SaveExploits0References15
osv_psf
osv_psf
•added 2024/03/19 3:44 p.m.•43 views

PSF-2024-1

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...

7.8CVSS6.9AI score0.00313EPSS
SaveExploits0References12
osv_psf
osv_psf
•added 2024/03/19 3:12 p.m.•30 views

PSF-2024-2

An issue was found in the CPython zipfile module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The zipfile module is vulnerable to “quoted-overlap” zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython...

6.2CVSS7AI score0.00336EPSS
SaveExploits0References15
osv_psf
osv_psf
•added 2023/12/08 6:20 p.m.•35 views

PSF-CVE-2023-6507 Groups not dropped before running subprocess when using empty 'extra_groups' parameter

An issue was found in CPython 3.12.0 subprocess module on POSIX platforms. The issue was fixed in CPython 3.12.1 and does not affect other stable releases. When using the extragroups= parameter with an empty list as a value ie extragroups= the logic regressed to not call setgroups0, NULL before...

6.1CVSS5.6AI score0.01337EPSS
SaveExploits0References3
osv_psf
osv_psf
•added 2023/12/08 6:20 p.m.•38 views

PSF-2023-12 Groups not dropped before running subprocess when using empty 'extra_groups' parameter

An issue was found in CPython 3.12.0 subprocess module on POSIX platforms. The issue was fixed in CPython 3.12.1 and does not affect other stable releases. When using the extragroups= parameter with an empty list as a value ie extragroups= the logic regressed to not call setgroups0, NULL before...

6.1CVSS6.7AI score0.01337EPSS
SaveExploits0References5
osv_psf
osv_psf
•added 2023/08/24 12:00 a.m.•43 views

PSF-2023-5 XML External Entity issue in plistlib module

An XML External Entity XXE issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities...

9.8CVSS7.5AI score0.05065EPSS
SaveExploits3References2
osv_psf
osv_psf
•added 2023/08/24 12:00 a.m.•53 views

PSF-2023-6 hmac.compare_digest() accumulator not constant-time

An issue was discovered in comparedigest in Lib/hmac.py in Python through 3.9.1. Constant-time-defeating optimisations were possible in the accumulator variable in hmac.comparedigest...

5.9CVSS6.8AI score0.01301EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2023/08/24 12:00 a.m.•43 views

PSF-2023-9 os.path.normpath() truncates on null bytes

Passing a path with null bytes to the os.path.normpath function causes the returned path to be unexpectedly truncated at the first occurrence of null bytes within the path. Python versions before 3.11.0 didn’t truncate the path on null bytes. If allowlisting is applied before a call to...

7.5CVSS7.3AI score0.02587EPSS
SaveExploits0References3
osv_psf
osv_psf
•added 2023/08/24 12:00 a.m.•39 views

PSF-2023-8 Bypass TLS handshake on closed sockets

Instances of ssl.SSLSocket are vulnerable to a bypass of the TLS handshake and included protections like certificate verification and treating sent unencrypted data as if it were post-handshake TLS encrypted data. The vulnerability is caused when a socket is connected, data is sent by the malicio...

5.3CVSS6AI score0.00797EPSS
SaveExploits0References3
osv_psf
osv_psf
•added 2023/08/22 12:00 a.m.•41 views

PSF-2023-11 Use-after-free in heappushpop() of heapq module

A use-after-free exists in Python through 3.9 via heappushpop in heapq...

7.5CVSS7.7AI score0.02042EPSS
SaveExploits1References3
osv_psf
osv_psf
•added 2023/08/22 12:00 a.m.•43 views

PSF-2023-10 DoS when reading malformed Apple Property List files in binary format

readints in plistlib.py in Python through 3.9.1 is vulnerable to a potential DoS attack via CPU and RAM exhaustion when processing malformed Apple Property List files in binary format...

6.5CVSS6.5AI score0.01651EPSS
SaveExploits1References3
osv_psf
osv_psf
•added 2023/08/15 12:00 a.m.•67 views

PSF-2023-7 Reference count issue in _asyncio._swap_current_task()

An issue in Python CPython 3.12.0b1 allows an attacker to obtain sensitive information via the asyncio.swapcurrenttask component...

5.3CVSS6.5AI score0.01739EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2023/06/25 12:00 a.m.•32 views

PSF-2023-4

The legacy email.utils.parseaddr function in Python through 3.11.4 allows attackers to trigger "RecursionError: maximum recursion depth exceeded while calling a Python object" via a crafted argument. This argument is plausibly an untrusted value from an application's input data that was supposed ...

7.5CVSS7.1AI score0.01584EPSS
SaveExploits1
osv_psf
osv_psf
•added 2023/06/07 12:00 a.m.•22 views

PSF-2023-3

CPython v3.12.0 alpha 7 was discovered to contain a heap use-after-free via the function asciidecode at /Objects/unicodeobject.c...

5.5CVSS7.6AI score0.0037EPSS
SaveExploits0
osv_psf
osv_psf
•added 2023/04/18 12:00 a.m.•152 views

PSF-2023-2 Parsing errors in email/_parseaddr.py lead to incorrect value in email address part of tuple

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is...

5.3CVSS6AI score0.02527EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2023/02/17 12:00 a.m.•25 views

PSF-2023-1 urlparse does not correctly handle schemes

An issue in the urllib.parse component of Python before 3.11.4 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters...

7.5CVSS7.9AI score0.20459EPSS
SaveExploits3References2
osv_psf
osv_psf
•added 2022/11/09 12:00 a.m.•42 views

PSF-2022-10 Slow IDNA decoding with large strings

An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA RFC 3490 decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often...

7.5CVSS7.1AI score0.02666EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2022/11/06 12:00 a.m.•68 views

PSF-2022-9 Linux specific local privilege escalation via the multiprocessing forkserver start method

Python 3.9.x before 3.9.16 and 3.10.x before 3.10.9 on Linux allows local privilege escalation in a non-default configuration. The Python multiprocessing library, when used with the forkserver start method on Linux, allows pickles to be deserialized from any user in the same machine local network...

7.8CVSS8AI score0.00763EPSS
SaveExploits0References4
osv_psf
osv_psf
•added 2022/10/21 12:00 a.m.•82 views

PSF-2022-11 Buffer overflow in the _sha3 module in Python 3.10 and older

The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface...

9.8CVSS8.1AI score0.05765EPSS
SaveExploits1References4
osv_psf
osv_psf
•added 2022/10/03 4:21 p.m.•41 views

PSF-2022-2 Buffer overflow vulnerability in os.symlink on Windows

Python Software Foundation CPython version From 3.2 until 3.6.4 on Windows contains a Buffer Overflow vulnerability in os.symlink function on Windows that can result in Arbitrary code execution, likely escalation of privilege. This attack appears to be exploitable via a python script that creates...

7.2CVSS6.9AI score0.0104EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2022/09/09 12:00 a.m.•39 views

PSF-2022-4 Prevent DoS by large str-int conversions

A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int"text", a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits float, decimal, int.frombytes, and int for binary bases 2, 4, 8, 16, and 32 are no...

7.5CVSS6.8AI score0.04486EPSS
SaveExploits0References5
osv_psf
osv_psf
•added 2022/08/23 12:00 a.m.•46 views

PSF-2022-5 http.server: Open Redirection if the URL path starts with //

Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple / at the beginning of URI path which may leads to information disclosure. NOTE: this is disputed by a third party because the http.server.html documentation page states...

7.4CVSS7.2AI score0.02535EPSS
SaveExploits0References2
osv_psf
osv_psf
•added 2022/04/13 12:00 a.m.•44 views

PSF-2022-1 mailcap shell command injection

In Python aka CPython up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input if they lack validation of user-provided...

8CVSS7.2AI score0.0278EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2022/03/25 12:00 a.m.•50 views

PSF-2022-3 Windows: vulnerable zlib 1.2.11

zlib before 1.2.12 allows memory corruption when deflating i.e., when compressing if the input has many distant matches...

7.5CVSS7.7AI score0.51733EPSS
SaveExploits1References2
Total number of security vulnerabilities201