CVE-2018-20406
Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value that is mishandled during a "resize to…
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value that is mishandled during a "resize to twice the size" attempt. This issue might cause memory exhaustion, but is only relevant if the pickle format is used for serializing tens or hundreds of gigabytes of data. This issue is fixed in: v3.4.10, v3.4.10rc1; v3.5.10, v3.5.10rc1, v3.5.7, v3.5.7rc1, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.7, v3.6.7rc1, v3.6.7rc2, v3.6.8, v3.6.8rc1, v3.6.9, v3.6.9rc1; v3.7.1, v3.7.1rc1, v3.7.1rc2, v3.7.2, v3.7.2rc1, v3.7.3, v3.7.3rc1, v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 5.8% · top 6.9% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (15)
- https://bugs.python.org/issue34656 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://github.com/python/cpython/commit/a4ae828ee416a66d8c7bf5ee71d653c2cc6a26dd (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2019-6e1938a3c5 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-6baeb15da3 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-cf725dd20b (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-6b02154aa0 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-7d9f3cf3ce (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2019-51f1e08207 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://security.netapp.com/advisory/ntap-20190416-0010/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-4127-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-4127-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2019:3725 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2020:0086 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-20406)Record last updated .