{"id":"CVE-2018-1061","published":"2018-06-19T12:00:00Z","modified":"2026-10-15T17:20:16Z","title":"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…","vendor":null,"product":"python","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04742,"percentile":0.92076,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://www.debian.org/security/2018/dsa-4306","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1042001","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugs.python.org/issue32981","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3817-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1","tags":["x_refsource_CONFIRM"]},{"url":"https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3505","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3041","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.debian.org/security/2018/dsa-4307","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/3817-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0327","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1260","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_us","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3725","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":23.0,"factors":[{"name":"EPSS percentile","points":18.42},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"python","versions":["python 2.7.15","python 3.4.9","python 3.5.6","python 3.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T17:20:05.235311Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is catastrophic backtracking in the difflib.IS_LINE_JUNK method of Python, which is a regular-expression-style matching weakness within that component. An attacker who can get the affected Python component to process crafted input can trigger a denial of service, and the attack requires network access, no authentication, and some user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:09Z"},"euvd":{"id":"EUVD-2018-11714","exploited":false,"provenance":"source"}}