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.
Do this next
Free account, 1 product
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
[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
- https://www.debian.org/security/2018/dsa-4306vendor-advisory, x-refsource-debian, third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061x-refsource-confirm, issue-tracking
- http://www.securitytracker.com/id/1042001vdb-entry, x-refsource-sectrack, third-party-advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.htmlmailing-list, x-refsource-mlist, third-party-advisory
- https://bugs.python.org/issue32981x-refsource-confirm, vendor-advisory
- https://usn.ubuntu.com/3817-2/vendor-advisory, x-refsource-ubuntu, third-party-advisory
- https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1x-refsource-confirm, vendor-advisory
- https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1x-refsource-confirm, vendor-advisory
- https://access.redhat.com/errata/RHSA-2018:3505vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2018:3041vendor-advisory, x-refsource-redhat, third-party-advisory
- https://www.debian.org/security/2018/dsa-4307vendor-advisory, x-refsource-debian, third-party-advisory
- https://usn.ubuntu.com/3817-1/vendor-advisory, x-refsource-ubuntu, third-party-advisory
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.htmlmailing-list, x-refsource-mlist, third-party-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/vendor-advisory, x-refsource-fedora
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/vendor-advisory, x-refsource-fedora
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/vendor-advisory, x-refsource-fedora
- https://access.redhat.com/errata/RHBA-2019:0327vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2019:1260vendor-advisory, x-refsource-redhat
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_usx-refsource-confirm
- https://access.redhat.com/errata/RHSA-2019:3725vendor-advisory, x-refsource-redhat
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.htmlvendor-advisory, x-refsource-suse
The CVE record on cve.org NVD's entry
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.