HOMEVULNERABILITIESCVE-2015-20107
HIGH

CVE-2015-20107

CWE-77Published: April 13, 2022· Updated: Jun 17, 2026

7.6
CVSS v3.1

Official Description

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

NVD Source

Technical Analysis

CVE-2015-20107 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in full integrity compromise (data manipulation), with a CVSS base score of 7.6.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityLow
IntegrityHigh
AvailabilityLow
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

Affected Vendors & Products

Fedora1 product(s)
fedora
netapp3 product(s)
active iq unified managerontap select deploy administration utilitysnapcenter
Python1 product(s)
python
Source: NVD CPE · 7 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (59)

https://bugs.python.org/issue24778Exploit · Issue Tracking · Vendor Advisory
https://github.com/python/cpython/issues/68966Issue Tracking · Third Party Advisory

Quick Facts

CVE IDCVE-2015-20107
CVSS Score7.6 / 10
SeverityHIGH
WeaknessCWE-77
CISA KEVNo
Affected3 vendor(s)
PublishedApr 13, 2022

Related CVEs (CWE-77)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2015-20107 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.