Read the docs
TI-2015-08082 Aliases CVE-2015-20107GHSA-wvcr-2gc8-63gg

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

Priority MEDIUM 41CWE-77Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 8 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-77.

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0278 86th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 6 advisoriesRed Hat: 8 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*3.7.0 – 3.7.15; 3.8.0 – 3.8.15; 3.9.0 – 3.9.15; 3.10.0 to before 3.10.8Vulnerablepython-pillow
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*37VulnerableFedoraproject
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions 3.7.0 – 3.7.15; 3.8.0 – 3.8.15; 3.9.0 – 3.9.15; 3.10.0 to before 3.10.8 Vulnerable ·python-pillow
  • cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject

Remediation

Red Hat 6 advisories

  • RHSA-2022:8353 Released 2022-11-15 · Red Hat rating Moderate
    python3.9 security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 9) python3-3.9.14-1.el9, python3-debug-3.9.14-1.el9, python3-idle-3.9.14-1.el9 +2
    • Red Hat Enterprise Linux AppStream (v. 9) python-unversioned-command-3.9.14-1.el9, python3-devel-3.9.14-1.el9, python3-tkinter-3.9.14-1.el9
    • Red Hat Enterprise Linux BaseOS (v. 9) python3-3.9.14-1.el9, python3-libs-3.9.14-1.el9, python3.9-3.9.14-1.el9
  • RHSA-2022:7593 Released 2022-11-08 · Red Hat rating Moderate
    python27:2.7 security update
    • Red Hat Enterprise Linux AppStream (v. 8) Cython-0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, PyYAML-3.12-16.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, babel-2.5.1-10.module+el8.5.0+11014+88fc0d0b.noarch::python27:2.7 +47
  • RHSA-2022:7581 Released 2022-11-08 · Red Hat rating Moderate
    python38:3.8 and python38-devel:3.8 security update
    • Red Hat CodeReady Linux Builder (v. 8) pytest-4.6.6-3.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8, python-atomicwrites-1.3.0-8.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8, python-attrs-19.3.0-3.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8 +15
    • Red Hat Enterprise Linux AppStream (v. 8) Cython-0.29.14-4.module+el8.4.0+8888+89bc7e79.src::python38:3.8, PyYAML-5.4.1-1.module+el8.5.0+10721+14d8e0d5.src::python38:3.8, babel-2.7.0-11.module+el8.5.0+11015+9c1c7c42.src::python38:3.8 +47
Show 3 more Red Hat advisories
  • RHSA-2022:7592 Released 2022-11-08 · Red Hat rating Moderate
    python39:3.9 and python39-devel:3.9 security update
    • Red Hat CodeReady Linux Builder (v. 8) Cython-0.29.21-5.module+el8.4.0+9822+20bf1249.src::python39-devel:3.9, pybind11-2.7.1-1.module+el8.6.0+12838+640e6226.src::python39-devel:3.9, pytest-6.0.2-2.module+el8.4.0+9822+20bf1249.src::python39-devel:3.9 +33
    • Red Hat Enterprise Linux AppStream (v. 8) PyYAML-5.4.1-1.module+el8.5.0+10613+59a13ec4.src::python39:3.9, mod_wsgi-4.7.1-5.module+el8.7.0+16654+645aad7f.src::python39:3.9, numpy-1.19.4-3.module+el8.5.0+12204+54860423.src::python39:3.9 +47
  • RHSA-2022:6766 Released 2022-10-03 · Red Hat rating Moderate
    rh-python38-python security update
    • Red Hat Software Collections for RHEL Workstation(v. 7) rh-python38-python-3.8.14-1.el7, rh-python38-python-debug-3.8.14-1.el7, rh-python38-python-devel-3.8.14-1.el7 +6
    • Red Hat Software Collections for RHEL(v. 7) rh-python38-python-3.8.14-1.el7, rh-python38-python-debug-3.8.14-1.el7, rh-python38-python-devel-3.8.14-1.el7 +6
  • RHSA-2022:6457 Released 2022-09-13 · Red Hat rating Moderate
    python3 security update
    • Red Hat Enterprise Linux AppStream (v. 8) platform-python-3.6.8-47.el8_6, platform-python-debug-3.6.8-47.el8_6, platform-python-devel-3.6.8-47.el8_6 +3
    • Red Hat Enterprise Linux BaseOS (v. 8) platform-python-3.6.8-47.el8_6, python3-3.6.8-47.el8_6, python3-libs-3.6.8-47.el8_6 +1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2022:7581, RHSA-2022:7592
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2022:8353
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:6457, RHSA-2022:7581, RHSA-2022:7592, RHSA-2022:7593
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2022:8353
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:6457
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2022:8353
Red Hat Software Collections for RHEL Workstation(v. 7)Fixed RHSA-2022:6766
Red Hat Software Collections for RHEL(v. 7)Fixed RHSA-2022:6766
Not affected: 3 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-20107
  2. 2026-10-03 Alias added: GHSA-wvcr-2gc8-63gg
  3. 2026-10-08 EPSS moved to the 50th–90th percentile
  4. 2026-10-08 CVSS score added · CISA ADP
  5. 2026-10-08 Weakness changed · CISA ADP
  6. 2026-10-08 CISA SSVC decision points changed

References

Sources