Home / Python / Python / CVE-2018-1000030
CVE-2018-1000030: is it exploited, and which versions of Python are affected and fixed?
CVE-2018-1000030 is an use after free vulnerability in 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, 10:08 UTC). Affected: python through 2.7.14, ubuntu linux 12.04, ubuntu linux 14.04 and 2 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (3.6, CVSS 3.0, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:35 UTC.
What is CVE-2018-1000030?
Python 2.7.14 is vulnerable to a Heap-Buffer-Overflow as well as a Heap-Use-After-Free. Python versions prior to 2.7.14 may also be vulnerable and it appears that Python 2.7.17 and prior may also be vulnerable however this has not been confirmed. The vulnerability lies when multiply threads are handling large amounts of data. In both cases there is essentially a race condition that occurs. For the Heap-Buffer-Overflow, Thread 2 is creating the size for a buffer, but Thread1 is already writing to the buffer without knowing how much to write. So when a large amount of data is being processed, it is very easy to cause memory corruption using a Heap-Buffer-Overflow. As for the Use-After-Free, Thread3->Malloc->Thread1->Free's->Thread2-Re-uses-Free'd Memory. The PSRT has stated that this is not a security vulnerability due to the fact that the attacker must be able to run code, however in some situations, such as function as a service, this vulnerability can potentially be used by an attacker to violate a trust boundary, as such the DWF feels this issue deserves a CVE.
From the CVE record by mitre, last updated October 8, 2026, 21:03 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | python | through 2.7.14 | application |
| 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 |
NVD analysis (status Modified), last modified October 8, 2026, 21:17 UTC.
How severe is CVE-2018-1000030?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.6 | CVSS 3.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L | mitre |
| Low 3.6 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L | NVD |
| Low 3.3 | CVSS 2.0 | AV:L/AC:M/Au:N/C:P/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-1000030 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 8, 2026)
- EPSS
- 1.19% probability of exploitation activity in the next 30 days, percentile 68.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://drive.google.com/file/d/1oyR9DAZjZK_SCn3mor6NRAYLJS6ueXaY/view x_refsource_MISC
- USN-3817-2 vendor-advisory, x_refsource_UBUNTU
- GLSA-201811-02 vendor-advisory, x_refsource_GENTOO
- https://www.dropbox.com/sh/sj3ee7xv55j36k7/AADwP-YfOYikBMuy32e0uvPFa?dl=0 x_refsource_MISC
- USN-3817-1 vendor-advisory, x_refsource_UBUNTU
- https://bugs.python.org/issue31530 x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpujan2020.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 8, 2018
- Published
- February 8, 2018, 17:00 UTC
- CVE record updated
- October 8, 2026, 21:03 UTC by mitre
- NVD
- Modified, last modified October 8, 2026, 21:17 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:35 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Python?
- Aug 25, 2023CVE-2023-40217 Python: n/a
- Aug 23, 2023CVE-2023-41105 Python: untrusted Search Path
- Aug 22, 2023CVE-2022-48566 Python: race condition
- Aug 22, 2023CVE-2022-48565 Python: XML external entity (XXE)
- Aug 22, 2023CVE-2022-48564 Python: denial of service (uncontrolled resource consumption)
- Aug 22, 2023CVE-2022-48560 Python: use after free
- Aug 15, 2023CVE-2023-38898 Python: n/a disputed
- Jun 25, 2023CVE-2023-36632 Python: uncontrolled recursion disputed
Questions about CVE-2018-1000030
Is CVE-2018-1000030 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 1.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Python are affected by CVE-2018-1000030?
python through 2.7.14, ubuntu linux 12.04, ubuntu linux 14.04, ubuntu linux 16.04 and ubuntu linux 18.04, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-1000030?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2018-1000030?
Low (3.6, CVSS 3.0, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1000030?
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.