2.3

CVE-2024-3220: python software foundation cpython Untrusted Search Path

CVSS: 2.3v4.0LowDeferred
AliasesCGA-39v7-whgm-gr76CGA-625h-7724-3c4vCGA-86gr-8vwf-6gvw
Published 14-02-2025Last modified 17-10-2026

Vulnerability summary

CVE-2024-3220 is a low (CVSS 2.3) Untrusted Search Path vulnerability in python software foundation cpython. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 47.4% of scored vulnerabilities.

Overall risk
9/100
0100
Minimal · default modelHow is this calculated?
CVSS score
2.3/10
010
Low · v4.0 (CVE.org)
EPSS score
0.60%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 8

Timeline

  1. 14-02-2025
    PublishedVulnerability first disclosed.
  2. 17-10-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.60%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

+0.07 pp

From 0.52% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.60%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard6 products
  • python-3.10All versions (No fix recorded)
  • python-3.11All versions (No fix recorded)
  • python-3.12All versions (No fix recorded)
  • python-3.13All versions (No fix recorded)
  • python-3.14< 3.14.2-r3
Wolfi5 products
  • python-3.10All versions (No fix recorded)
  • python-3.11All versions (No fix recorded)
  • python-3.12All versions (No fix recorded)
  • python-3.13All versions (No fix recorded)
  • python-3.14< 3.14.2-r3
Python software foundation1 product

3 vendors · 12 products

References

10 links