Home / [UNKNOWN] / python / CVE-2018-1061
CVE-2018-1061: is it exploited, and which versions of [UNKNOWN] python are affected and fixed?
CVE-2018-1061 is an improper input validation vulnerability in [UNKNOWN] python. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: python python 2.7.15, python python 3.4.9, python python 3.5.6 and 1 more (CVE record by redhat). Fixed in 2.7.15 and 3.4.9 (NVD). Severity: Medium (6.5, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:31 UTC.
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.
From the CVE record by redhat, last updated October 15, 2026, 17:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| [UNKNOWN] | python | python 2.7.15 python 3.4.9 python 3.5.6 python 3.7.0 |
As the CVE record by redhat states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | python | before 2.7.15 | application |
| python | python | from 3.0 before 3.4.9 | application |
| python | python | from 3.5.0 through 3.5.5 | application |
| python | python | from 3.6 through 3.6.4 | application |
| python | python | 3.7.0 | application |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| redhat | ansible tower | 3.3 | application |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux server | 7.0 | operating system |
| redhat | enterprise linux workstation | 7.0 | operating system |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| fedoraproject | fedora | 28 | operating system |
| fedoraproject | fedora | 29 | operating system |
| fedoraproject | fedora | 30 | operating system |
NVD analysis (status Modified), last modified October 15, 2026, 18:17 UTC.
How severe is CVE-2018-1061?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | redhat |
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-1061 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 15, 2026)
- EPSS
- 4.65% probability of exploitation activity in the next 30 days, percentile 92.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- DSA-4306 vendor-advisory, x_refsource_DEBIAN
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1061 x_refsource_CONFIRM
- 1042001 vdb-entry, x_refsource_SECTRACK
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update mailing-list, x_refsource_MLIST
- https://bugs.python.org/issue32981 x_refsource_CONFIRM
- USN-3817-2 vendor-advisory, x_refsource_UBUNTU
- https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1 x_refsource_CONFIRM
- https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1 x_refsource_CONFIRM
- RHSA-2018:3505 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:3041 vendor-advisory, x_refsource_REDHAT
- DSA-4307 vendor-advisory, x_refsource_DEBIAN
- USN-3817-1 vendor-advisory, x_refsource_UBUNTU
- [debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update mailing-list, x_refsource_MLIST
- FEDORA-2019-6e1938a3c5 vendor-advisory, x_refsource_FEDORA
- FEDORA-2019-cf725dd20b vendor-advisory, x_refsource_FEDORA
- FEDORA-2019-51f1e08207 vendor-advisory, x_refsource_FEDORA
- RHBA-2019:0327 vendor-advisory, x_refsource_REDHAT
- RHSA-2019:1260 vendor-advisory, x_refsource_REDHAT
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03951en_us x_refsource_CONFIRM
- RHSA-2019:3725 vendor-advisory, x_refsource_REDHAT
- openSUSE-SU-2020:0086 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- December 4, 2017
- Published
- June 19, 2018, 12:00 UTC
- CVE record updated
- October 15, 2026, 17:20 UTC by redhat
- NVD
- Modified, last modified October 15, 2026, 18:17 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:31 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect python?
- Jun 18, 2018CVE-2018-1060 [UNKNOWN] python: improper input validation
Questions about CVE-2018-1061
Is CVE-2018-1061 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 4.65% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of [UNKNOWN] python are affected by CVE-2018-1061?
python python 2.7.15, python python 3.4.9, python python 3.5.6 and python python 3.7.0, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2018-1061?
2.7.15 and 3.4.9, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-1061?
Medium (6.5, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1061?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.