CVE-2018-1061
At a glance Severity MEDIUM 6.5 EPSS EPSS 4.74 % · percentile 92 (2026-10-27) State PUBLISHED Published 2018-06-19 Updated 2026-10-15 Assigner redhat NVD status Modified
Description python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in the difflib.IS_LINE_JUNK method. An attacker could use this flaw to cause denial of service.
Scores Version Score Vector Scored by CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H redhat CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H NVD · secalert@redhat.com (Secondary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD · nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P NVD · nvd@nist.gov (Primary)
Weaknesses (CWE)
European references
CERT-FR advisories
Affected configurations (NVD CPE) cpe:2.3:a:python:python:*:*:*:*:*:*:*:* < 2.7.15cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.0 < 3.4.9cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.5.0 ≤ 3.5.5cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.6 ≤ 3.6.4cpe:2.3:a:python:python:3.7.0:alpha1:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:alpha2:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:alpha3:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:alpha4:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:beta1:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:beta2:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:beta3:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:beta4:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:beta5:*:*:*:*:*:*cpe:2.3:a:python:python:3.7.0:rc1:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
Affected products Product Versions [UNKNOWN] · python affected python 2.7.15 ; affected python 3.4.9 ; affected python 3.5.6 ; affected python 3.7.0
References
Sources