Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

vulnerability

Gentoo Linux: CVE-2015-20107: Python, PyPy3: Multiple Vulnerabilities

Severity
8
CVSS
(AV:N/AC:L/Au:S/C:P/I:C/A:P)
Published
Apr 13, 2022
Added
May 4, 2023
Modified
Mar 31, 2026

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

Solutions

gentoo-linux-upgrade-dev-lang-pythongentoo-linux-upgrade-dev-python-pypy3
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.