Back to CVE records
High 7.5Published Dec 23, 2018

CVE-2018-20406Modules/_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.

Updated under an hour ago ()

Does this affect you?

It affects python and 2 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.5 HIGH (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
mitre
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
python python
python:python
from 3.4.0 before 3.7.1
NVD
debian debian_linux
debian:debian_linux
8.0
NVD
fedoraproject fedora
fedoraproject:fedora
28; 29; 30
NVD

References

  • x-refsource-misc, exploit, issue-tracking, patch, vendor-advisory
  • mailing-list, x-refsource-mlist, third-party-advisory
  • x-refsource-misc, patch, third-party-advisory
  • vendor-advisory, x-refsource-fedora
  • vendor-advisory, x-refsource-fedora
  • vendor-advisory, x-refsource-fedora
  • vendor-advisory, x-refsource-fedora
  • vendor-advisory, x-refsource-fedora
  • vendor-advisory, x-refsource-fedora
  • x-refsource-confirm
  • vendor-advisory, x-refsource-ubuntu
  • vendor-advisory, x-refsource-ubuntu
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-suse
  • mailing-list, x-refsource-mlist

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.