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 twice the size" attempt. This issue might cause memory exhaustion,
02 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,
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 5.78% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 92.7% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-15.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-12-23 23:00Z7 YR AGO
- Last updated
- 2026-10-15 17:41Z13 DAYS AGO
- Reserved
- 2018-12-23
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-190Integer Overflow or WraparoundBase
- Data version
- 5.2
- Document digest
- 5c2f95569b696801506f8ae584c005611ec5be85fb6acf58b66dd06067de1164
05 Affected products
06 References
- bugs.python.orghttps://bugs.python.org/issue34656
- lists.debian.org[debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security updatehttps://lists.debian.org/debian-lts-announce/2019/02/msg00011.html
- github.comhttps://github.com/python/cpython/commit/a4ae828ee416a66d8c7bf5ee71d653c2cc6a26dd
- lists.fedoraproject.orgFEDORA-2019-6e1938a3c5https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSKPGPZQNTAULHW4UH63KGOOUIDE4RRB/
- lists.fedoraproject.orgFEDORA-2019-6baeb15da3https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D3LXPABKVLFYUHRYJPM3CSS5MS6FXKS7/
- lists.fedoraproject.orgFEDORA-2019-cf725dd20bhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AEZ5IQT7OF7Q2NCGIVABOWYGKO7YU3NJ/
- lists.fedoraproject.orgFEDORA-2019-6b02154aa0https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICBEGRHIPHWPG2VGYS6R4EVKVUUF4AQW/
- lists.fedoraproject.orgFEDORA-2019-7d9f3cf3cehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TR6GCO3WTV4D5L23WTCBF275VE6BVNI3/
- lists.fedoraproject.orgFEDORA-2019-51f1e08207https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46PVWY5LFP4BRPG3BVQ5QEEFYBVEXHCK/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20190416-0010/
- usn.ubuntu.comUSN-4127-2https://usn.ubuntu.com/4127-2/
- usn.ubuntu.comUSN-4127-1https://usn.ubuntu.com/4127-1/
- access.redhat.comRHSA-2019:3725https://access.redhat.com/errata/RHSA-2019:3725
- lists.opensuse.orgopenSUSE-SU-2020:0086http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- lists.debian.org[debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security updatehttps://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
07 Fixed in
Ubuntu 16.04 LTS
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.8
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- python3.6 Fixed in 3.6.7-1~18.04
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- python3.4 Fixed in 3.4.3-1ubuntu1~14.04.7+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.