CVE-2018-1000030
Reported by mitre · Published February 8, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python | python | 2.7.14 |
| alpine/python-3.13 | alpine | 2.7.15-rc1 |
| python2.7 | Ubuntu:14.04:LTS | 2.7.6-8ubuntu0.5 |
| debian/python-3.10 | debian | 2.7.15-rc1 |
| debian/python-3.13 | debian | 2.7.15-rc1 |
| debian/python-3.14 | debian | 2.7.15-rc1 |
| python | DHI | 2.7.15-rc1 |
| python2.7 | Ubuntu:16.04:LTS | 2.7.12-1ubuntu0~16.04.4 |
| debian/python-3.11 | debian | 2.7.15-rc1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Feb 8, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1000030
vulnetix vdb fixes CVE-2018-1000030
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-1000030/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- USN-3817-2 vendor-advisoryx_refsource_UBUNTU
- GLSA-201811-02 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- USN-3817-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_MISC