Skip to main content
No exploitation reportedFix available

CVE-2018-1061

No exploitation reported by the sources we read.

  • Published2018-06-19
  • Fixed in3.4.9 · 2.7.15
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2018-06-1912:29CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-1061?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-1061?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Python
BranchAffectedFixed in
3.x≥ 3.0, < 3.4.93.4.9
2.7< 2.7.152.7.15
3.5≥ 3.5.0, ≤ 3.5.5no fix published
3.6≥ 3.6, ≤ 3.6.4no fix published
3.7= 3.7.0no fix published
Canonical ubuntu linux
BranchAffectedFixed in
12.4= 12.04no fix published
14.4= 14.04no fix published
16.4= 16.04no fix published
18.4= 18.04no fix published
Fedoraproject fedora
BranchAffectedFixed in
28.x= 28no fix published
29.x= 29no fix published
30.x= 30no fix published

5 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update Python to 3.4.9 · 2.7.15

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionnone2026-10-15
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.06.5read 2026-10-23
  • NVDCVSS 3.07.5read 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • CNAweakness (CWE)CWE-20read 2026-10-23
  • FIRST EPSSEPSS score4.9 %2026-10-23

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2018-06-19
Last Modified
2026-10-15
NVD status
Modified

Frequently asked questions

What is 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 service.

Is CVE-2018-1061 actively exploited?

Active exploitation of CVE-2018-1061 has not been confirmed. Its EPSS score was 4.9% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-1061?

CVE-2018-1061 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month