Skip to main content
No exploitation reportedFix available

CVE-2018-1060

No exploitation reported by the sources we read.

  • Published2018-06-18
  • Fixed in3.6.5 · 3.5.6 · 3.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 pop3lib's apop() method. An attacker could use this flaw to cause denial of service.

Timeline

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

Versions per branch

NVD
Python
BranchAffectedFixed in
3.6> 3.6.0, < 3.6.53.6.5
3.5≥ 3.5.0, < 3.5.63.5.6
3.x≥ 3.0.0, < 3.4.93.4.9
2.7≥ 2.7.0, < 2.7.152.7.15
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.

Products declared by the CNA1 product

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • [UNKNOWN] python
    Affected
    • = python 2.7.15no fix stated
    • = python 3.4.9no fix stated
    • = python 3.5.6no fix stated
    • = python 3.7.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2020-01-21

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • pythonTuxCare:OracleLinux:6all versions · fixed in 2.6.6-70.el6.tuxcare.els16and 5 other packages
  • pythonTuxCare:CentOS:6all versions · fixed in 2.6.6-70.el6.tuxcare.els16and 5 other packages
  • pythonSUSE:Linux Enterprise Software Development Kit 11 SP4all versions · fixed in 2.6.9-40.15.1and 1 other package
  • pythonSUSE:Linux Enterprise Server for SAP Applications 12 SP4all versions · fixed in 2.7.13-28.16.1and 2 other packages
  • pythonSUSE:Linux Enterprise Server for SAP Applications 12 SP3all versions · fixed in 2.7.13-28.16.1and 2 other packages
  • pythonSUSE:Linux Enterprise Server for SAP Applications 11 SP4all versions · fixed in 2.6.9-40.15.1and 1 other package
  • pythonSUSE:Linux Enterprise Server 12 SP4all versions · fixed in 2.7.13-28.16.1and 2 other packages
  • pythonSUSE:Linux Enterprise Server 12 SP3all versions · fixed in 2.7.13-28.16.1and 2 other packages

91 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-1060 Red Hat Product Security485 products fixed · 24 known affected

    python: DOS via regular expression catastrophic backtracking in apop() method in pop3lib

    python.src as a component of Red Hat Enterprise Linux 5 · python as a component of Red Hat Enterprise Linux 6 · python-devel as a component of Red Hat Enterprise Linux 6 · +21 more

  • RHSA-2020:1346 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: python security update

  • RHSA-2020:1268 Red Hat Product Security55 products fixed

    Red Hat Security Advisory: python security update

  • RHSA-2019:3725 Red Hat Product Security135 products fixed

    Red Hat Security Advisory: rh-python36-python security, bug fix, and enhancement update

  • RHSA-2019:1260 Red Hat Product Security141 products fixed

    Red Hat Security Advisory: python27-python and python27-python-jinja2 security and bug fix update

  • RHSA-2018:3041 Red Hat Product Security109 products fixed

    Red Hat Security Advisory: python security and bug fix update

Full record on NVD

Fix

  1. Update Python to 3.6.5 · 3.5.6 · 3.4.9 · 2.7.15
  2. Vendor fix Red Hat Product Security RHSA-2020:1346 · 45 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2019:1260 · 160 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For the update to take effect, all applications using Jinja2 must be restarted.
  4. No fix available, says the vendor Red Hat Product Security CVE-2018-1060 · 8 productsFix deferred
  5. No fix planned, says the vendor Red Hat Product Security CVE-2018-1060 · 16 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-10-08
  • NVDCVSS 3.17.5read 2026-10-23
  • CNACVSS 3.04.3known since 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • CNAweakness (CWE)CWE-20known since 2026-10-23
  • FIRST EPSSEPSS score5.0 %2026-11-09
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2018-06-18
Last Modified
2026-10-08
NVD status
Modified
GitHub Advisory
GHSA-7hp6-577h-hcgr

Frequently asked questions

What is CVE-2018-1060?

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 pop3lib's apop() method. An attacker could use this flaw to cause denial of service.

Is CVE-2018-1060 actively exploited?

Active exploitation of CVE-2018-1060 has not been confirmed. Its EPSS score was 5.0% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

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

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

Running Python? Hear about its next vulnerability

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

Sources for this record