{"id":"ALPINE-CVE-2018-20406","details":"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.","modified":"2025-11-19T06:13:57.488719Z","published":"2018-12-23T23:29:00.307Z","upstream":["CVE-2018-20406"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-20406"}],"affected":[{"package":{"name":"python3","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/python3?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.8-r0"}]}],"versions":["3.1.3-r0","3.2.0-r0","3.2.3-r0","3.3.0-r0","3.3.2-r0","3.3.3-r0","3.3.4-r0","3.4.1-r0","3.4.2-r0","3.4.2-r1","3.4.3-r1","3.4.3-r2","3.5.0-r0","3.5.1-r0","3.5.1-r1","3.5.1-r2","3.5.1-r3","3.5.2-r0","3.5.2-r1","3.5.2-r10","3.5.2-r2","3.5.2-r3","3.5.2-r4","3.5.2-r5","3.5.2-r6","3.5.2-r7","3.5.2-r8","3.5.2-r9","3.6.0-r0","3.6.1-r0","3.6.1-r1","3.6.1-r2","3.6.1-r3","3.6.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20406.json"}},{"package":{"name":"python3","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/python3?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.8-r0"}]}],"versions":["3.1.3-r0","3.2.0-r0","3.2.3-r0","3.3.0-r0","3.3.2-r0","3.3.3-r0","3.3.4-r0","3.4.1-r0","3.4.2-r0","3.4.2-r1","3.4.3-r1","3.4.3-r2","3.5.0-r0","3.5.1-r0","3.5.1-r1","3.5.1-r2","3.5.1-r3","3.5.2-r0","3.5.2-r1","3.5.2-r10","3.5.2-r2","3.5.2-r3","3.5.2-r4","3.5.2-r5","3.5.2-r6","3.5.2-r7","3.5.2-r8","3.5.2-r9","3.6.0-r0","3.6.1-r0","3.6.1-r1","3.6.1-r2","3.6.1-r3","3.6.1-r4","3.6.2-r0","3.6.2-r1","3.6.2-r2","3.6.2-r3","3.6.3-r3","3.6.3-r4","3.6.3-r5","3.6.3-r6","3.6.3-r7","3.6.3-r8","3.6.3-r9","3.6.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20406.json"}},{"package":{"name":"python3","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/python3?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.8-r0"}]}],"versions":["3.1.3-r0","3.2.0-r0","3.2.3-r0","3.3.0-r0","3.3.2-r0","3.3.3-r0","3.3.4-r0","3.4.1-r0","3.4.2-r0","3.4.2-r1","3.4.3-r1","3.4.3-r2","3.5.0-r0","3.5.1-r0","3.5.1-r1","3.5.1-r2","3.5.1-r3","3.5.2-r0","3.5.2-r1","3.5.2-r10","3.5.2-r2","3.5.2-r3","3.5.2-r4","3.5.2-r5","3.5.2-r6","3.5.2-r7","3.5.2-r8","3.5.2-r9","3.6.0-r0","3.6.1-r0","3.6.1-r1","3.6.1-r2","3.6.1-r3","3.6.1-r4","3.6.2-r0","3.6.2-r1","3.6.2-r2","3.6.2-r3","3.6.3-r3","3.6.3-r4","3.6.3-r5","3.6.3-r6","3.6.3-r7","3.6.3-r8","3.6.3-r9","3.6.4-r0","3.6.4-r1","3.6.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20406.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}