VDB

CVE-2018-1061

CVE-2018-1061 PUBLISHED CVSS 6.5 MEDIUM

Reported by redhat · Published June 19, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python-libsAmazon Linux2.7.16-1.amzn2.0.1
python-debugAmazon Linux2.7.16-1.amzn2.0.1
tkinterAmazon Linux2.7.16-1.amzn2.0.1
python3Alpine3.6.6-r0, 3.6.5-r0, 3.5.6-r0
python-toolsAmazon Linux2.7.16-1.amzn2.0.1
debian/python-3.13debian3.7.0-beta3, 3.6.5-rc1, 3.5.6-rc1, 3.4.9-rc1, 2.7.15-rc1
debian/python-3.11debian3.7.0-beta3, 3.6.5-rc1, 3.5.6-rc1, 3.4.9-rc1, 2.7.15-rc1
python2.7Ubuntu:14.04:LTS2.7.6-8ubuntu0.5
pythonDHI3.7.0-beta3, 3.6.5-rc1, 3.5.6-rc1, 3.4.9-rc1, 2.7.15-rc1

Risk scores

CVSS 3.0
6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
[UNKNOWN]pythonpython 2.7.15, python 3.4.9, python 3.5.6
[UNKNOWN]python2.7.15, 3.4.9, 3.5.6

Timeline

  • Apr 26, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (12 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (15 in total, the first dated here)
  • Sep 26, 2026 Coalition ESS Score
  • Oct 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-1061
vulnetix vdb fixes CVE-2018-1061

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1061/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 1 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›