Lucene search
+L
OSV PSFMost viewed

205 matches found

osv_psf
osv_psf
•added 2023/04/18 12:00 a.m.•172 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.3CVSS6.1AI score0.0256EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2022/10/21 12:00 a.m.•94 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.4AI score0.0607EPSS
SaveExploits1References4
osv_psf
osv_psf
•added 2026/06/08 10:01 p.m.•89 views

PSF-2026-27

bz2.BZ2Decompressor objects could be reused after a decompression error. If an application caught the resulting OSError and retried with the same decompressor, crafted input could cause the decompressor to resume from an invalid internal state and perform out-of-bounds writes to a stack buffer...

8.2CVSS6.9AI score0.00605EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2022/11/06 12:00 a.m.•89 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.8CVSS7.8AI score0.00884EPSS
SaveExploits0References4
osv_psf
osv_psf
•added 2019/03/23 5:06 p.m.•89 views

PSF-2019-11 HTTP Header Injection (follow-up of CVE-2016-5699)

An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n specifically in the path component of a URL that...

6.1CVSS7.3AI score0.05253EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2023/08/15 12:00 a.m.•85 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.4AI score0.00795EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2019/03/23 5:07 p.m.•82 views

PSF-2019-12 urllib module local_file:// scheme

urllib in Python 2.x through 2.7.16 supports the localfile: scheme, which makes it easier for remote attackers to bypass protection mechanisms that blacklist file: URIs, as demonstrated by triggering a urllib.urlopen'localfile:///etc/passwd' call...

9.1CVSS8.7AI score0.11939EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2022/03/04 12:00 a.m.•81 views

PSF-2022-7 CVE-2021-3737: urllib HTTP client possible infinite loop on a 100 Continue response

A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote attacker, who controls the HTTP server, to make the client script enter an infinite loop, consuming CPU time. The highest threat from this vulnerability is to system availability...

7.5CVSS7.7AI score0.13166EPSS
SaveExploits1References3
osv_psf
osv_psf
•added 2019/06/07 5:50 p.m.•80 views

PSF-2019-3 urlsplit does not handle NFKC normalization (second fix)

A security regression of CVE-2019-9636 was discovered in python since commit d537ab0ff9767ef024f26246899728f0116b1ec3 affecting versions 2.7, 3.5, 3.6, 3.7 and from v3.8.0a4 through v3.8.0b1, which still allows an attacker to exploit CVE-2019-9636 by abusing the user and password parts of a URL...

9.8CVSS9AI score0.07012EPSS
SaveExploits0References1
osv_psf
osv_psf
•added 2019/03/13 3:00 a.m.•80 views

PSF-2019-10 HTTP Header Injection (follow-up of CVE-2016-5699)

An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n specifically in the query string after a ? charact...

6.5CVSS7.3AI score0.09887EPSS
SaveExploits4References1
osv_psf
osv_psf
•added 2026/06/23 4:04 p.m.•79 views

PSF-2026-30

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

7.8CVSS6.7AI score0.01446EPSS
SaveExploits2References10
osv_psf
osv_psf
•added 2026/03/12 5:59 p.m.•78 views

PSF-2026-10

The "tarfile" module would still apply normalization of AREGTYPE \x00 blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPELONGNAME or GNUTYPELONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations...

3.3CVSS5.9AI score0.00298EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2018/12/23 11:00 p.m.•78 views

PSF-2018-6 pickle.load denial of service

Modules/pickle.c in Python before 3.7.1 has an integer overflow via a large LONGBINPUT value that is mishandled during a "resize to twice the size" attempt. This issue might cause memory exhaustion, but is only relevant if the pickle format is used for serializing tens or hundreds of gigabytes of...

7.5CVSS7.5AI score0.05789EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2026/05/13 8:14 p.m.•77 views

PSF-2026-24

The ftpcp function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed. While makepasv was patched to replace server-supplied PASV host addresses with the actual peer address getpeername0, ftpcp still calls parse227 directly and passes the raw attacker-controllable IP address and port t...

5.9CVSS6.5AI score0.03607EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2021/05/06 12:00 a.m.•77 views

PSF-2021-2 ipaddress leading zeros in IPv4 address

In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string. This in some situations allows attackers to bypass access control that is based on IP addresses...

9.8CVSS9.5AI score0.06817EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2020/09/27 12:00 a.m.•77 views

PSF-2020-5 http.client: HTTP Header Injection in the HTTP method

http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request...

7.2CVSS7.2AI score0.06358EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2019/10/31 8:05 p.m.•76 views

PSF-2019-8 TALOS-2018-0758 SSL CRL distribution points Denial of Service

An exploitable denial-of-service vulnerability exists in the X509 certificate parser of Python.org Python 2.7.11 / 3.6.6. A specially crafted X509 certificate can cause a NULL pointer dereference, resulting in a denial of service. An attacker can initiate or accept TLS connections using crafted...

7.5CVSS8.5AI score0.20743EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2026/03/18 6:13 p.m.•74 views

PSF-2026-13

DISPUTED: The project has clarified that the documentation was incorrect, and that pkgutil.getdata 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.getdata did...

5.4AI score0.00284EPSS
SaveExploits0References7
osv_psf
osv_psf
•added 2020/07/04 10:54 p.m.•73 views

PSF-2020-4 Py_SetPath(): _Py_CheckPython3 uses uninitialized DLL path

In Python 3.6 through 3.6.10, 3.7 through 3.7.8, 3.8 through 3.8.4rc1, and 3.9 through 3.9.0b4 on Windows, a Trojan horse python3.dll might be used in cases where CPython is embedded in a native application. This occurs because python3X.dll may use an invalid search path for python3.dll loading...

7.8CVSS7.4AI score0.00911EPSS
SaveExploits0References1
osv_psf
osv_psf
•added 2026/04/21 2:45 p.m.•72 views

PSF-0000-CVE-2026-3298

The method "sockrecvfrominto" of "asyncio.ProacterEventLoop" Windows only was missing a boundary check for the data buffer when using nbytes parameter. This allowed for an out-of-bounds buffer write if data was larger than the buffer size. Non-Windows platforms are not affected...

8.8CVSS6.2AI score0.00627EPSS
SaveExploits0References6
osv_psf
osv_psf
•added 2022/03/07 12:00 a.m.•72 views

PSF-2022-6 CVE-2021-3733: ReDoS in urllib.request

There's a flaw in urllib's AbstractBasicAuthHandler class. An attacker who controls a malicious HTTP server that an HTTP client such as web browser connects to, could trigger a Regular Expression Denial of Service ReDOS during an authentication request with a specially crafted payload that is sen...

6.5CVSS6.8AI score0.04799EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2021/05/20 12:00 a.m.•72 views

PSF-2021-4 Information disclosure via pydoc getfile

There's a flaw in Python 3's pydoc. A local or adjacent attacker who discovers or is able to convince another local or adjacent user to start a pydoc server could access the server and use it to disclose sensitive information belonging to the other user that they would not normally be able to...

5.7CVSS6.3AI score0.01863EPSS
SaveExploits0References2
osv_psf
osv_psf
•added 2026/06/16 3:18 p.m.•71 views

PSF-2026-28

To allow builds of Python to be run from an in-tree layout rather than an installed file layout, the VPATH variable is defined at build time and used to locate certain landmarks - specifically, Modules/setup.local. When this landmark is found relative to VPATH relative to the executable, Python...

5.3CVSS6.7AI score0.00174EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2017/07/25 8:00 p.m.•71 views

PSF-2017-7 Expat 2.2.1

XML External Entity vulnerability in libexpat 2.2.0 and earlier Expat XML Parser Library allows attackers to put the parser in an infinite loop using a malformed external entity definition from an external DTD...

7.5CVSS8.6AI score0.08739EPSS
SaveExploits1References3
osv_psf
osv_psf
•added 2026/06/30 2:45 p.m.•70 views

PSF-2026-32

In the Tarfile.extract function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract function...

5.3CVSS6.1AI score0.00481EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2026/04/22 7:28 p.m.•70 views

PSF-2026-21

http.cookies.Morsel.jsoutput returns an inline snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value...

6.1CVSS6.2AI score0.00607EPSS
SaveExploits1References6
osv_psf
osv_psf
•added 2026/04/14 3:11 p.m.•70 views

PSF-2026-19

The "profiling.sampling" module Python 3.15+ and "asyncio introspection capabilities" 3.14+, "python -m asyncio ps" and "python -m asyncio pstree" features could be used to read and write addresses in a privileged process if that process connected to a malicious or "infected" Python process via t...

5.3CVSS6.6AI score0.00159EPSS
SaveExploits0References5
osv_psf
osv_psf
•added 2017/11/17 12:00 a.m.•70 views

PSF-2017-6 PyString_DecodeEscape integer overflow

CPython aka Python up to 2.7.13 is vulnerable to an integer overflow in the PyStringDecodeEscape function in stringobject.c, resulting in heap-based buffer overflow and possible arbitrary code execution...

9.8CVSS8.2AI score0.07944EPSS
SaveExploits0References1
osv_psf
osv_psf
•added 2023/08/24 12:00 a.m.•69 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.9CVSS7.2AI score0.00827EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2020/07/13 12:00 a.m.•69 views

PSF-2020-2 Infinite loop in tarfile module while opening a crafted file

In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because procpax lacks header validation...

7.5CVSS7.2AI score0.02684EPSS
SaveExploits0References1
osv_psf
osv_psf
•added 2019/09/28 1:33 a.m.•69 views

PSF-2019-6 Reflected XSS in DocXMLRPCServer

The documentation XML-RPC server in Python through 2.7.16, 3.x through 3.6.9, and 3.7.x through 3.7.4 has XSS via the servertitle field. This occurs in Lib/DocXMLRPCServer.py in Python 2.x, and in Lib/xmlrpc/server.py in Python 3.x. If setservertitle is called with untrusted input, arbitrary...

6.1CVSS7AI score0.04653EPSS
SaveExploits1References1
osv_psf
osv_psf
•added 2018/06/11 9:00 p.m.•68 views

PSF-2018-1 Expat 2.2.1

An integer overflow during the parsing of XML using the Expat library. This vulnerability affects Firefox 50...

9.8CVSS8.3AI score0.08739EPSS
SaveExploits1References3
osv_psf
osv_psf
•added 2026/06/03 2:29 p.m.•67 views

PSF-2026-25

unicodedata.normalize can take excessive CPU time when processing specially crafted Unicode input containing long runs of combining characters with alternating Canonical Combining Class values. This affects all normalization forms...

6.3CVSS6.4AI score0.00743EPSS
SaveExploits0References11
osv_psf
osv_psf
•added 2026/04/21 2:45 p.m.•67 views

PSF-2026-20

The method "sockrecvfrominto" of "asyncio.ProacterEventLoop" Windows only was missing a boundary check for the data buffer when using nbytes parameter. This allowed for an out-of-bounds buffer write if data was larger than the buffer size. Non-Windows platforms are not affected...

8.8CVSS6.2AI score0.00627EPSS
SaveExploits0References8
osv_psf
osv_psf
•added 2026/03/16 5:37 p.m.•67 views

PSF-2026-11

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.jsoutput lacked the output validation applie...

7.5CVSS7.1AI score0.0079EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2019/10/23 4:31 p.m.•67 views

PSF-2019-7 CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()

An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n specifically in the host component of a URL follow...

6.1CVSS7AI score0.03384EPSS
SaveExploits0References1
osv_psf
osv_psf
•added 2017/08/24 8:00 p.m.•67 views

PSF-2017-1 JSONDecoder.raw_decode

Array index error in the scanstring function in the json module in Python 2.7 through 3.5 and simplejson before 2.6.1 allows context-dependent attackers to read arbitrary process memory via a negative index value in the idx argument to the rawdecode function...

5.9CVSS6.8AI score0.07845EPSS
SaveExploits1References2
osv_psf
osv_psf
•added 2022/08/23 12:00 a.m.•66 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.4CVSS7AI score0.02838EPSS
SaveExploits0References2
osv_psf
osv_psf
•added 2020/06/18 12:00 a.m.•66 views

PSF-2020-3 [CVE-2020-14422] Hash collisions in IPv4Interface and IPv6Interface

Lib/ipaddress.py in Python through 3.8.3 improperly computes hash values in the IPv4Interface and IPv6Interface classes, which might allow a remote attacker to cause a denial of service if an application is affected by the performance of a dictionary containing IPv4Interface or IPv6Interface...

5.9CVSS7.2AI score0.11815EPSS
SaveExploits0References1
osv_psf
osv_psf
•added 2019/09/06 5:24 p.m.•66 views

PSF-2019-5 email.utils.parseaddr mistakenly parse an email

An issue was discovered in Python through 2.7.16, 3.x through 3.5.7, 3.6.x through 3.6.9, and 3.7.x through 3.7.4. The email module wrongly parses email addresses that contain multiple @ characters. An application that uses the email module and implements some kind of checks on the From/To header...

7.5CVSS6.8AI score0.04604EPSS
SaveExploits0References3
osv_psf
osv_psf
•added 2026/08/10 1:45 p.m.•65 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.9AI score0.00174EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2026/04/13 9:52 p.m.•65 views

PSF-2026-17

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.2AI score0.00504EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2023/08/22 12:00 a.m.•65 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.5CVSS8AI score0.01888EPSS
SaveExploits1References3
osv_psf
osv_psf
•added 2023/08/22 12:00 a.m.•64 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.5CVSS7.7AI score0.0157EPSS
SaveExploits1References3
osv_psf
osv_psf
•added 2020/10/22 2:47 a.m.•64 views

PSF-2020-6 CJK codecs tests call eval() on content retrieved via HTTP

In Python 3 through 3.9.0, the Lib/test/multibytecodecsupport.py CJK codec tests call eval on content retrieved via HTTP...

9.8CVSS7.1AI score0.08334EPSS
SaveExploits0References2
osv_psf
osv_psf
•added 2026/06/23 5:42 p.m.•63 views

PSF-2026-29

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

5.5CVSS5.9AI score0.00184EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2026/06/04 2:21 p.m.•63 views

PSF-2026-26

tarfile.datafilter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall to write files outside the...

6.9CVSS7.6AI score0.00781EPSS
SaveExploits0References10
osv_psf
osv_psf
•added 2026/04/13 5:15 p.m.•63 views

PSF-2026-18

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.6AI score0.0079EPSS
SaveExploits0References9
osv_psf
osv_psf
•added 2019/06/03 7:04 p.m.•63 views

PSF-2019-1 smtplib unlimited read

The smtplib module doesn't limit the amount of read data in its call to readline. An erroneous or malicious SMTP server can trick the smtplib module to consume large amounts of memory...

7.6AI score
SaveExploits1References7
osv_psf
osv_psf
•added 2026/04/10 5:54 p.m.•62 views

PSF-2026-15

CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host...

5.7CVSS6.2AI score0.00738EPSS
SaveExploits0References9
Total number of security vulnerabilities205