Skip to main content
HIGH

CVE-2015-20107

CVSS v3

7.6

HIGH

EPSS Score

7.1 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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

Technical details

Published
2022-04-13

Frequently asked questions

What is CVE-2015-20107?

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

Is CVE-2015-20107 actively exploited?

Active exploitation of CVE-2015-20107 has not been confirmed. Its EPSS score was 7.1% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2015-20107?

CVE-2015-20107 has a CVSS v3 base score of 7.6 (HIGH severity).

Is CVE-2015-20107 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key

Other 2015 vulnerabilities worth triaging

Ranked by exploit probability (EPSS).