CVE-2026-8328 Affecting python3.10 package, versions <3.10.12-1~22.04.16


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.48% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-PYTHON310-16781925
  • published6 Jul 2026
  • disclosed13 May 2026

Introduced: 13 May 2026

CVE-2026-8328  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 python3.10 to version 3.10.12-1~22.04.16 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.10 package and not the python3.10 package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.