CVE-2018-1061
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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 4.74% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 91.8% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-15.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-06-19 12:00Z8 YR AGO
- Last updated
- 2026-10-15 17:20Z13 DAYS AGO
- Reserved
- 2017-12-04
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.5)
- CNA CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-20Improper Input ValidationClass
- Data version
- 5.2
- Document digest
- 1007878a265f351ae1a0605f441debccadb3449cf53bf25a98baf2bd7d49154d
05 Affected products
06 References
- www.debian.orgDSA-4306https://www.debian.org/security/2018/dsa-4306
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061
- www.securitytracker.com1042001http://www.securitytracker.com/id/1042001
- lists.debian.org[debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security updatehttps://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- bugs.python.orghttps://bugs.python.org/issue32981
- usn.ubuntu.comUSN-3817-2https://usn.ubuntu.com/3817-2/
- docs.python.orghttps://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1
- docs.python.orghttps://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1
- access.redhat.comRHSA-2018:3505https://access.redhat.com/errata/RHSA-2018:3505
- access.redhat.comRHSA-2018:3041https://access.redhat.com/errata/RHSA-2018:3041
- www.debian.orgDSA-4307https://www.debian.org/security/2018/dsa-4307
- usn.ubuntu.comUSN-3817-1https://usn.ubuntu.com/3817-1/
- lists.debian.org[debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security updatehttps://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- lists.fedoraproject.orgFEDORA-2019-6e1938a3c5https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/
- lists.fedoraproject.orgFEDORA-2019-cf725dd20bhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/
- lists.fedoraproject.orgFEDORA-2019-51f1e08207https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/
- access.redhat.comRHBA-2019:0327https://access.redhat.com/errata/RHBA-2019:0327
- access.redhat.comRHSA-2019:1260https://access.redhat.com/errata/RHSA-2019:1260
- support.hpe.comhttps://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_us
- access.redhat.comRHSA-2019:3725https://access.redhat.com/errata/RHSA-2019:3725
- lists.opensuse.orgopenSUSE-SU-2020:0086http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
07 Fixed in
Debian 11
- python2.7 Fixed in 2.7.14-7
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- python2.7 Fixed in 2.7.6-8ubuntu0.5
- python3.4 Fixed in 3.4.3-1ubuntu1~14.04.7
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- python2.7 Fixed in 2.7.12-1ubuntu0~16.04.4
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.5
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.