Back to CVE records
Medium 6.5Published Jun 19, 2018

CVE-2018-1061python 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.

Updated under an hour ago ()

Does this affect you?

It affects [UNKNOWN] python and 8 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.5 MEDIUM (v3.0, CNA)CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-20
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
redhat
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
[UNKNOWN] python
unknown:python (from the name)
python 2.7.15; python 3.4.9; python 3.5.6; python 3.7.0
CNA record
python python
python:python
before 2.7.15; from 3.0 before 3.4.9; from 3.5.0 through 3.5.5; from 3.6 through 3.6.4; 3.7.0; 3.7.0; 3.7.0; 3.7.0; and 6 more ranges
NVD
debian debian_linux
debian:debian_linux
8.0; 9.0
NVD
redhat ansible_tower
redhat:ansible_tower
3.3
NVD
redhat enterprise_linux_desktop
redhat:enterprise_linux_desktop
7.0
NVD
redhat enterprise_linux_server
redhat:enterprise_linux_server
7.0
NVD
redhat enterprise_linux_workstation
redhat:enterprise_linux_workstation
7.0
NVD
canonical ubuntu_linux
canonical:ubuntu_linux
12.04; 14.04; 16.04; 18.04
NVD
fedoraproject fedora
fedoraproject:fedora
28; 29; 30
NVD

References

  • vendor-advisory, x-refsource-debian, third-party-advisory
  • x-refsource-confirm, issue-tracking
  • vdb-entry, x-refsource-sectrack, third-party-advisory
  • mailing-list, x-refsource-mlist, third-party-advisory
  • x-refsource-confirm, vendor-advisory
  • vendor-advisory, x-refsource-ubuntu, third-party-advisory
  • x-refsource-confirm, vendor-advisory
  • x-refsource-confirm, vendor-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-debian, third-party-advisory
  • vendor-advisory, x-refsource-ubuntu, third-party-advisory
  • mailing-list, x-refsource-mlist, third-party-advisory
  • vendor-advisory, x-refsource-fedora
  • vendor-advisory, x-refsource-fedora
  • vendor-advisory, x-refsource-fedora
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat
  • x-refsource-confirm
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-suse

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.