Skip to main content
CVE-2024-3220VulnerabilityPublished Updated

There Is a Defect

Source GCVE Database

0
Compare
Authoritative record:CVE-2024-3220· Low 2.3

Not known to be exploited · CVSS 2.3 Low · fixed in 3.16.0 : update CPython when convenient.

Data as of 27 Nov 2026, 22:50 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PSF)CVSS 4.02.3
EPSS
1.2% chance of exploitation in 30 days – higher than 68% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.16.0, 3.15.1, 3.14.9 +3
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Python Software FoundationCPythonAffected
  • >=3.16.0a1 <3.16.0
Fixed in
  • 3.16.0
Python Software FoundationCPythonAffected
  • >=3.15.0 <3.15.1
Fixed in
  • 3.15.1
Python Software FoundationCPythonAffected
  • >=3.14.0 <3.14.9
Fixed in
  • 3.14.9
Python Software FoundationCPythonAffected
  • >=3.13.0 <3.13.18
Fixed in
  • 3.13.18
Python Software FoundationCPythonAffected
  • >=3.12.0 <3.12.16
Fixed in
  • 3.12.16
Python Software FoundationCPythonAffected
  • <3.11.18
Fixed in
  • 3.11.18

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

As a workaround, users on Windows can call mimetypes.init() with an empty list ([]) to prevent the module from using the default writable file locations. This avoids the vulnerability by not loading MIME type definitions from user-writable paths.

Description

A defect in the CPython standard library module "mimetypes" on Windows causes the default list of known file locations to be writable by users. This allows other users to create invalid files that can cause a MemoryError during Python runtime startup or cause file extensions to be interpreted incorrectly. The issue arises because default locations used on Linux and macOS (e.g., "/etc/mime.types") are also used on Windows, where these paths are user-writable (e.g., "C:\etc\mime.types").

References

Community reviews

Loading reviews…