Findings

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.

Published Jun 19, 2018 · updated Oct 15, 2026 · python python

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.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jun 19, 2018 · NIST NVD

    Detected

    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.

  2. Jun 17, 2026 · NIST NVD

    Updated

    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.

  3. Oct 15, 2026 · NIST NVD

    Updated

    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.

Affected

  • cpe canonical/ubuntu linux12.04
  • cpe debian/debian linux8.0
  • cpe fedoraproject/fedora28
  • cpe python/pythonversion unspecified
  • cpe python/python3.7.0
  • cpe redhat/ansible tower3.3

Sources

  • CVE.orgVulnerability recordCVE-2018-1061

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-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.

    nvd.nist.gov

References

CVE-2018-1061 · ZeroDay Findings