CVE-2018-20406

Summary

CVECVE-2018-20406
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-12-23 23:29:00 UTC
Updated2023-11-07 02:56:00 UTC
DescriptionModules/_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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Fedoraproject Fedora 28 All All All
Operating System Fedoraproject Fedora 29 All All All
Operating System Fedoraproject Fedora 30 All All All
Operating System Fedoraproject Fedora 28 All All All
Operating System Fedoraproject Fedora 29 All All All
Operating System Fedoraproject Fedora 30 All All All
Application Python Python All All All All
Application Python Python All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 2280-1] python3.5 security update MLIST lists.debian.org
[SECURITY] Fedora 28 Update: python35-3.5.7-1.fc28 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Issue 34656: [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393 - Python tracker MISC bugs.python.org Exploit, Issue Tracking, Patch, Vendor Advisory
[SECURITY] [DLA 1663-1] python3.4 security update MLIST lists.debian.org Mailing List, Third Party Advisory
[SECURITY] Fedora 29 Update: python34-3.4.10-1.fc29 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Third Party Advisory
USN-4127-1: Python vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com
[SECURITY] Fedora 30 Update: python35-3.5.7-1.fc30 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[security-announce] openSUSE-SU-2020:0086-1: important: Security update SUSE lists.opensuse.org
USN-4127-2: Python vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com
[SECURITY] Fedora 28 Update: python34-3.4.10-1.fc28 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 28 Update: python34-3.4.10-1.fc28 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Third Party Advisory
[SECURITY] Fedora 30 Update: python35-3.5.7-1.fc30 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
[SECURITY] Fedora 28 Update: python35-3.5.7-1.fc28 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Third Party Advisory
[SECURITY] Fedora 30 Update: python34-3.4.10-1.fc30 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
closes bpo-34656: Avoid relying on signed overflow in _pickle memos. … · python/cpython@a4ae828 · GitHub MISC github.com Patch, Third Party Advisory
[SECURITY] Fedora 29 Update: python34-3.4.10-1.fc29 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 30 Update: python34-3.4.10-1.fc30 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
[SECURITY] Fedora 29 Update: python35-3.5.7-1.fc29 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Red Hat Customer Portal REDHAT access.redhat.com
CVE-2018-20406 Python Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
[SECURITY] Fedora 29 Update: python35-3.5.7-1.fc29 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 296081 Oracle Solaris 11.4 Support Repository Update (SRU) 12.5.0 Missing (CPUJUL2019)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report