CVE-2024-3220 Affecting python-3.14 package, versions <3.14.2-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.5% (40th 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-WOLFILATEST-PYTHON314-15410709
  • published5 Mar 2026
  • disclosed14 Feb 2025

Introduced: 14 Feb 2025

CVE-2024-3220  (opens in a new tab)

How to fix?

Upgrade Wolfi python-3.14 to version 3.14.2-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-3.14 package and not the python-3.14 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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 incorrect file type.

This defect is caused by the default locations of Linux and macOS platforms (such as “/etc/mime.types”) also being used on Windows, where they are user-writable locations (“C:\etc\mime.types”).

To work-around this issue a user can call mimetypes.init() with an empty list (“[]”) on Windows platforms to avoid using the default list of known file locations.

CVSS Base Scores

version 3.1