Lucene search
+L
Osv-psfMost viewed

201 matches found

osv-psf
osv-psf
•added 2024/07/29 9:54 p.m.•24 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 2017/07/17 12:00 a.m.•24 views

PSF-2017-11 Expat 2.2.3

Expat 2.2.2 was released with multiple security fixes: 43: Protect against compilation without any source of high quality entropy enabled, e.g. with CMake build system 60: Windows with UNICODE: Unintended use of LoadLibraryW with a non-wide string resulted in failure to load advapi32.dll and...

7.7AI score
SaveExploits0References1
osv-psf
osv-psf
•added 2026/08/10 1:45 p.m.•23 views

PSF-2026-35

Attacker-controlled CSV samples can trigger super-linear regular-expression work during dialect sniffing and consume significant CPU when applications pass unbounded input to csv.Sniffer.sniff...

2.4CVSS5.8AI score0.00119EPSS
SaveExploits0References9
osv-psf
osv-psf
•added 2026/01/20 9:26 p.m.•23 views

PSF-2026-6

User-controlled header names and values containing newlines can allow injecting HTTP headers...

5.9CVSS6.6AI score0.00542EPSS
SaveExploits0References15
osv-psf
osv-psf
•added 2024/11/12 9:22 p.m.•23 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/08/01 1:40 p.m.•23 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 2026/04/13 9:52 p.m.•22 views

PSF-0000-CVE-2026-4786

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

7.1CVSS6.4AI score0.00485EPSS
SaveExploits0References3
osv-psf
osv-psf
•added 2016/06/30 5:00 p.m.•22 views

PSF-2016-6 Expat 2.2 (Expat bug #537)

The overflow protection in Expat is removed by compilers with certain optimization settings, which allows remote attackers to cause a denial of service crash or possibly execute arbitrary code via crafted XML data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-1283 and...

8.1CVSS9.6AI score0.11946EPSS
SaveExploits0References3
osv-psf
osv-psf
•added 2010/10/19 7:00 p.m.•22 views

PSF-2010-6 smtpd accept bug and race condition

The asyncore module in Python before 3.2 does not properly handle unsuccessful calls to the accept function, and does not have accompanying documentation describing how daemon applications should handle unsuccessful calls to the accept function, which makes it easier for remote attackers to condu...

5CVSS6.3AI score0.03206EPSS
SaveExploits0References1
osv-psf
osv-psf
•added 2026/09/11 5:27 p.m.•21 views

PSF-2026-40

When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was...

5.7CVSS5.8AI score0.005EPSS
SaveExploits0References11
osv-psf
osv-psf
•added 2024/09/03 12:29 p.m.•21 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 2020/01/28 6:35 p.m.•21 views

PSF-2020-7 CVE-2020-8315: Unsafe DLL loading in getpathp.c on Windows 7

In Python CPython 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected...

5.5CVSS5.6AI score0.01509EPSS
SaveExploits0References1
osv-psf
osv-psf
•added 2017/06/22 12:00 a.m.•21 views

PSF-2017-8 Environment variables injection in subprocess on Windows

On Windows, prevent passing invalid environment variables and command arguments to subprocess.Popen. It is possible to inject an environment variable in subprocess on Windows if a user data is passed to a subprocess via environment variable. Check for invalid environment variable names containing...

7AI score
SaveExploits0References1
osv-psf
osv-psf
•added 2014/01/21 6:00 p.m.•21 views

PSF-2014-1 CVE-2013-0340 Billion Laughs fixed in Expat 2.4.0

expat 2.1.0 and earlier does not properly handle entities expansion unless an application developer uses the XMLSetEntityDeclHandler function, which allows remote attackers to cause a denial of service resource consumption, send HTTP requests to intranet servers, or read arbitrary files via a...

6.8CVSS7.5AI score0.19433EPSS
SaveExploits1References2
osv-psf
osv-psf
•added 2012/06/27 10:00 a.m.•21 views

PSF-2012-1 SimpleHTTPServer UTF-7

The listdirectory function in Lib/SimpleHTTPServer.py in SimpleHTTPServer in Python before 2.5.6c1, 2.6.x before 2.6.7 rc2, and 2.7.x before 2.7.2 does not place a charset parameter in the Content-Type HTTP header, which makes it easier for remote attackers to conduct cross-site scripting XSS...

2.6CVSS5.4AI score0.03213EPSS
SaveExploits1References1
osv-psf
osv-psf
•added 2026/08/25 3:07 p.m.•20 views

PSF-2026-39

When decompressing crafted zip files using the bzip/LZMA/Zstandard compressions, Python could use an attacker-controlled size to pre-allocate memory, possibly resulting in memory exhaustion...

2.1CVSS5.9AI score0.00526EPSS
SaveExploits0References13
osv-psf
osv-psf
•added 2026/08/19 3:24 p.m.•20 views

PSF-2026-38

The tarfile module's tar and data extraction filters created directories outside the destination for members whose name leaves the destination and returns to it, such as ../evil/../dest/sub/file. The containment check used the resolved path, but intermediate directories were created from the name...

6.3CVSS5.9AI score0.00472EPSS
SaveExploits0References3
osv-psf
osv-psf
•added 2026/08/18 1:57 p.m.•20 views

PSF-2026-37

The "stringprep" module didn't process characters from RFC 3454 tables B.2 or B.3 correctly: the latest Unicode codepoint attributes were used instead of the specified Unicode 3.2.0. This behavior would cause mismatches when processing domain names using IDNA 2003 the "idna" codec and the intable...

6CVSS5.9AI score0.00734EPSS
SaveExploits0References11
osv-psf
osv-psf
•added 2026/06/23 10:02 p.m.•20 views

PSF-2026-31

When using the "tarfile" module with a file opened in "streaming mode" mode="r|" the tarfile module did not properly handle EOF, making archive parsing take exponentially longer...

8.2CVSS5.9AI score0.00715EPSS
SaveExploits0References10
osv-psf
osv-psf
•added 2026/04/13 5:15 p.m.•20 views

PSF-0000-CVE-2026-6100

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

9.1CVSS6.5AI score0.00761EPSS
SaveExploits0References6
osv-psf
osv-psf
•added 2025/06/03 12:59 p.m.•20 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 2023/06/07 12:00 a.m.•20 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/02/17 12:00 a.m.•20 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 2019/11/30 12:00 a.m.•20 views

PSF-2019-15 Remove newline characters from uu encoding methods

Filenames passed to the UU encoding methods uu.py and uucodec.py that contain a newline character will overflow data into the UU content section. This can potentially be used to inject replace or corrupt data content in a file during the decode process. The fix removes newline characters from...

7.3AI score
SaveExploits0References1
osv-psf
osv-psf
•added 2017/04/20 12:00 a.m.•20 views

PSF-2017-10 urllib FTP protocol stream injection

FTP protocol stream injection via malicious URLs...

7.5AI score
SaveExploits0References4
osv-psf
osv-psf
•added 2013/10/09 2:44 p.m.•20 views

PSF-2013-1 ssl.match_hostname() wildcard DoS

Algorithmic complexity vulnerability in the ssl.matchhostname function in Python 3.2.x, 3.3.x, and earlier, and unspecified versions of python-backports-sslmatchhostname as used for older Python versions, allows remote attackers to cause a denial of service CPU consumption via multiple wildcard...

4.3CVSS6.8AI score0.04857EPSS
SaveExploits0References1
osv-psf
osv-psf
•added 2013/08/18 1:00 a.m.•20 views

PSF-2013-2 ssl: NULL in subjectAltNames

The ssl.matchhostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate...

4.3CVSS7.5AI score0.05347EPSS
SaveExploits1References1
osv-psf
osv-psf
•added 2012/07/03 7:00 p.m.•20 views

PSF-2012-4 Expat 2.2.1

The XML parser xmlparse.c in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service CPU consumption via an XML file with many identifiers with the same value...

4.3CVSS7AI score0.05724EPSS
SaveExploits0References3
osv-psf
osv-psf
•added 2011/09/06 7:00 p.m.•20 views

PSF-2011-3 ssl CBC IV attack

The SSL protocol, as used in certain configurations in Microsoft Windows and Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, Opera, and other products, encrypts data by using CBC mode with chained initialization vectors, which allows man-in-the-middle attackers to obtain plaintext HT...

4.3CVSS6.9AI score0.73327EPSS
SaveExploits4References1
osv-psf
osv-psf
•added 2011/05/24 11:00 p.m.•20 views

PSF-2011-2 urllib redirect

The urllib and urllib2 modules in Python 2.x before 2.7.2 and 3.x before 3.2.1 process Location headers that specify redirection to file: URLs, which makes it easier for remote attackers to obtain sensitive information or cause a denial of service resource consumption via a crafted URL, as...

6.4CVSS9AI score0.03564EPSS
SaveExploits0References1
osv-psf
osv-psf
•added 2011/05/09 10:00 p.m.•20 views

PSF-2011-1 CGI directory traversal (is_cgi() function)

The iscgi method in CGIHTTPServer.py in the CGIHTTPServer module in Python 2.5, 2.6, and 3.0 allows remote attackers to read script source code via an HTTP GET request that lacks a / slash character at the beginning of the URI...

5CVSS6.3AI score0.03803EPSS
SaveExploits1References1
osv-psf
osv-psf
•added 2010/05/27 7:00 p.m.•20 views

PSF-2010-2 rgbimg and imageop overflows

Integer overflow in rgbimgmodule.c in the rgbimg module in Python 2.5 allows remote attackers to have an unspecified impact via a large image that triggers a buffer overflow. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-3143.12...

7.5CVSS9.7AI score0.04877EPSS
SaveExploits0References4
osv-psf
osv-psf
•added 2026/09/29 5:46 p.m.•19 views

PSF-2026-42

The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the...

5.9CVSS5.8AI score0.0018EPSS
SaveExploits2References7
osv-psf
osv-psf
•added 2026/08/18 3:50 p.m.•19 views

PSF-2026-36

The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRealm and HTTPPasswordMgrWithPriorAuth, did not take the URL scheme into account when matching stored credentials against a requested URL. Credentials added for an https:// URL were also us...

6CVSS5.9AI score0.00528EPSS
SaveExploits0References10
osv-psf
osv-psf
•added 2026/01/20 9:52 p.m.•19 views

PSF-2026-5

When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters...

6CVSS7.5AI score0.00469EPSS
SaveExploits0References9
osv-psf
osv-psf
•added 2019/07/01 12:00 a.m.•19 views

PSF-2019-13 ssl.match_hostname() ignores extra string after whitespace in IPv4 address

inetaton accepts trailing characters after a valid IP. Because of that, Python ssl.matchhostname'1.1.1.1 ; this should not work but does' succeeded when it should fail. The issue was introduced in bpo-32819 by commit aef1283b . Only Python 3.7 and newer are affected. It's a potential security bug...

7AI score
SaveExploits0References1
osv-psf
osv-psf
•added 2018/09/24 12:00 a.m.•19 views

PSF-2018-7 xml package does not obey ignore_environment

On two occasions, the xml package uses environment variables to override parser / DOM implementations: xml.sax package and xml.dom.domreg module. On both occasions, the code should not use env vars to override module names, when the interpreter is started with flags like -E or -I...

7.2AI score
SaveExploits0References1
osv-psf
osv-psf
•added 2016/09/02 2:00 p.m.•19 views

PSF-2016-8 HTTP header injection

CRLF injection vulnerability in the HTTPConnection.putheader function in urllib2 and urllib in CPython aka Python before 2.7.10 and 3.x before 3.4.4 allows remote attackers to inject arbitrary HTTP headers via CRLF sequences in a URL...

6.1CVSS7AI score0.09887EPSS
SaveExploits3References2
osv-psf
osv-psf
•added 2014/11/16 1:00 a.m.•19 views

PSF-2014-5 os.makedirs() not thread-safe

Race condition in the getmaskedmode function in Lib/os.py in Python 3.2 through 3.5, when existok is set to true and multiple threads are used, might allow local users to bypass intended file permissions by leveraging a separate application vulnerability before the umask has been set to the...

3.3CVSS9AI score0.00356EPSS
SaveExploits0References1
osv-psf
osv-psf
•added 2014/02/28 6:00 p.m.•19 views

PSF-2014-4 socket.recvfrom_into() overflow

Buffer overflow in the socket.recvfrominto function in Modules/socketmodule.c in Python 2.5 before 2.7.7, 3.x before 3.3.4, and 3.4.x before 3.4rc1 allows remote attackers to execute arbitrary code via a crafted string...

7.5CVSS9.7AI score0.28112EPSS
SaveExploits7References1
osv-psf
osv-psf
•added 2013/10/29 12:00 a.m.•19 views

PSF-2013-3 CGI directory traversal (URL parsing)

An error in separating the path and filename of the CGI script to run in http.server.CGIHTTPRequestHandler allows running arbitrary executables in the directory under which the server was started...

7.1AI score
SaveExploits0References1
osv-psf
osv-psf
•added 2008/08/01 2:00 p.m.•19 views

PSF-2008-5 Multiple integer overflows (Apple)

Integer overflow in hashopenssl.c in the hashlib module in Python 2.5.2 and earlier might allow context-dependent attackers to defeat cryptographic digests, related to "partial hashlib hashing of data exceeding 4GB."...

7.5CVSS9.5AI score0.04089EPSS
SaveExploits3References1
osv-psf
osv-psf
•added 2026/09/14 7:14 p.m.•18 views

PSF-2026-41

In CPython 3.13 and earlier, the tarfile module's data and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification time of a file outside the destination directory, or expose...

8.4CVSS5.9AI score0.00188EPSS
SaveExploits0References11
osv-psf
osv-psf
•added 2026/01/21 7:34 p.m.•18 views

PSF-2026-7

When passing data to the b64decode, standardb64decode, and urlsafeb64decode 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. Th...

6.3CVSS5.8AI score0.00569EPSS
SaveExploits1References8
osv-psf
osv-psf
•added 2025/06/03 12:59 p.m.•18 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 2019/12/17 12:00 a.m.•18 views

PSF-2019-16 Email header injection in Address objects

It is possible to inject email headers using CR or LF character. The fix disallows CR and LF characters in email.headerregistry.Address arguments to guard against header injection attacks...

7.4AI score
SaveExploits0References1
osv-psf
osv-psf
•added 2016/09/02 2:00 p.m.•18 views

PSF-2016-3 smtplib TLS stripping

The smtplib library in CPython aka Python before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block...

6.5CVSS7.2AI score0.14524EPSS
SaveExploits3References2
osv-psf
osv-psf
•added 2014/12/12 11:00 a.m.•18 views

PSF-2014-7 Validate TLS certificate

The HTTP clients in the 1 httplib, 2 urllib, 3 urllib2, and 4 xmlrpclib libraries in CPython aka Python 2.x before 2.7.9 and 3.x before 3.4.3, when accessing an HTTPS URL, do not a check the certificate against a trust store or verify that the server hostname matches a domain name in the subject'...

5.8CVSS7.3AI score0.03012EPSS
SaveExploits1References2
osv-psf
osv-psf
•added 2014/10/08 5:00 p.m.•18 views

PSF-2014-6 buffer() integer overflows

Integer overflow in bufferobject.c in Python before 2.7.8 allows context-dependent attackers to obtain sensitive information from process memory via a large size and offset in a "buffer" function...

6.4CVSS9.2AI score0.05122EPSS
SaveExploits1References1
osv-psf
osv-psf
•added 2014/05/19 2:00 p.m.•18 views

PSF-2014-2 Hash function not randomized properly

Python 2.7 before 3.4 only uses the last eight bits of the prefix to randomize hash values, which causes it to compute hash values without restricting the ability to trigger hash collisions predictably and makes it easier for context-dependent attackers to cause a denial of service CPU consumptio...

4.3CVSS9.2AI score0.03255EPSS
SaveExploits0References1
Total number of security vulnerabilities201