1. Home
  2. Vulnerabilities
  3. CVE-2015-20107

CVE-2015-20107

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands…

Published 13 Apr 2022 · modified 14 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 57/100

Summary

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9

Affected products and versions

Fedoraproject (3 line(s))
Fedoraproject
ProductVersionsFixed inSource
Fedora 35 — NVD
Fedora 36 — NVD
Fedora 37 — NVD
Netapp (3 line(s))
Netapp
ProductVersionsFixed inSource
Active iq unified manager Versions not specified — NVD
Ontap select deploy administration utility Versions not specified — NVD
Snapcenter Versions not specified — NVD
Python (4 line(s))
Python
ProductVersionsFixed inSource
Python from 3.7.0 (included) to 3.7.15 (included) — NVD
Python from 3.8.0 (included) to 3.8.15 (included) — NVD
Python from 3.9.0 (included) to 3.9.15 (included) — NVD
Python from 3.10.0 (included) to 3.10.8 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L (CVSS 3.1, NVD)
Weakness
CWE-77 · Injection de commandes / code

How this data is obtained and calculated