#1141526 pypy3: CVE-2026-8328

Package:
src:pypy3
Source:
src:pypy3
Submitter:
Moritz Mühlenhoff
Date:
2026-07-05 19:25:03 UTC
Severity:
normal
Tags:
#1141526#5
Date:
2026-07-05 19:16:34 UTC
From:
To:
Hi,

The following vulnerability was published for pypy3.

CVE-2026-8328[0]:
| 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
| (getpeername()[0]), ftpcp() still calls parse227() directly and
| passes  the raw attacker-controllable IP address and port to
| target.sendport(). This patch is related to CVE-2021-4189.

https://mail.python.org/archives/list/security-announce@python.org/thread/ITF2BAPBQEPYK3LDMPRSY435JGNHYNDP/
https://github.com/python/cpython/pull/149648
https://github.com/python/cpython/commit/eac4fe3b2c77693790a5ef7dfab127c1fee81bf9 (main branch)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-8328
https://www.cve.org/CVERecord?id=CVE-2026-8328

Please adjust the affected versions in the BTS as needed.