Every CVE Search/ Get API key

CVE-2018-20406

Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value...

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

5.79%Up 2.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2018-20406
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-20406
Updated
2026-11-02
EUVDEUVD-2018-12964 No score

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.

Record
EUVD-2018-12964
Updated
2026-11-02
GitHub AdvisoriesGHSA-p5h6-p5x2-5qxf 7.5

Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value...

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.

Record
GHSA-p5h6-p5x2-5qxf
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVALPINE-CVE-2018-20406 7.5

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.

Record
ALPINE-CVE-2018-20406
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2018-20406 7.5

CVE-2018-20406 does not affect BellSoft software

Record
BELL-CVE-2018-20406
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 16 moreShow less
OSV 7.5

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.

Record
CVE-2018-20406
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVRHSA-2019:3725 7.5

Red Hat Security Advisory: rh-python36-python security, bug fix, and enhancement update

Record
RHSA-2019:3725
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-20406 7.5

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.

Record
UBUNTU-CVE-2018-20406
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2019-0135 No score

Updated python3 packages fix security vulnerability

Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization. This could make it easy to conduct denial of service attacks against Expat by contructing an XML document that would cause pathological hash collisions in Expat's internal data structures, consuming large amounts CPU and RAM (CVE-2018-14647).

Modules/_pickle.c in Python before 3.5.7 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 (CVE-2018-20406).

A null pointer dereference vulnerability was found in the certificate parsing code in Python. This causes a denial of service to applications when parsing specially crafted certificates. This vulnerability is unlikely to be triggered if application enables SSL/TLS certificate validation and accepts certificates only from trusted root certificate authorities (CVE-2019-5010).

A vulnerability was found in Python 3.x through 3.5.7. An improper Handling of Unicode Encoding (with an incorrect netloc) during NFKC normalization could lead to an Information Disclosure (credentials, cookies, etc. that are cached against a given hostname) in the urllib.parse.urlsplit, urllib.parse.urlparse components. A specially crafted URL could be incorrectly parsed to locate cookies or authentication data and send that information to a different host than when parsed correctly (CVE-2019-9636).

The python3 package has been updated to version 3.5.7, fixing these and other issues.

Record
MGASA-2019-0135
Updated
2026-11-02
OSVopenSUSE-SU-2019:0155-1 No score

Security update for python3

This update for python3 fixes the following issues:

Security issue fixed:

  • CVE-2019-5010: Fixed a denial-of-service vulnerability in the X509 certificate parser (bsc#1122191)
  • CVE-2018-20406: Fixed a integer overflow via a large LONG_BINPUT (bsc#1120644)

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:0155-1
Updated
2026-11-02
OSVopenSUSE-SU-2020:0086-1 No score

Security update for python3

This update for python3 to version 3.6.10 fixes the following issues:

  • CVE-2017-18207: Fixed a denial of service in Wave_read._read_fmt_chunk() (bsc#1083507).
  • CVE-2019-16056: Fixed an issue where email parsing could fail for multiple @ (bsc#1149955).
  • CVE-2019-15903: Fixed a heap-based buffer over-read in libexpat (bsc#1149429).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2020:0086-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11284-1 No score

python36-3.6.15-1.1 on GA media

These are all security issues fixed in the python36-3.6.15-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11284-1
Updated
2026-11-02
OSVPSF-2018-6 No score

pickle.load denial of service

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.

Record
PSF-2018-6
Updated
2026-11-02
OSVSUSE-SU-2019:0215-1 No score

Security update for python3

This update for python3 fixes the following issues:

Security issue fixed:

  • CVE-2019-5010: Fixed a denial-of-service vulnerability in the X509 certificate parser (bsc#1122191)
  • CVE-2018-20406: Fixed a integer overflow via a large LONG_BINPUT (bsc#1120644)
Record
SUSE-SU-2019:0215-1
Updated
2026-11-02
OSVSUSE-SU-2019:0243-1 No score

Security update for python3

This update for python3 fixes the following issues:

Security issue fixed:

  • CVE-2019-5010: Fixed a denial-of-service vulnerability in the X509 certificate parser (bsc#1122191)
  • CVE-2018-20406: Fixed a integer overflow via a large LONG_BINPUT (bsc#1120644)
Record
SUSE-SU-2019:0243-1
Updated
2026-11-02
OSVSUSE-SU-2019:0243-2 No score

Security update for python3

This update for python3 fixes the following issues:

Security issue fixed:

  • CVE-2019-5010: Fixed a denial-of-service vulnerability in the X509 certificate parser (bsc#1122191)
  • CVE-2018-20406: Fixed a integer overflow via a large LONG_BINPUT (bsc#1120644)
Record
SUSE-SU-2019:0243-2
Updated
2026-11-02
OSVSUSE-SU-2019:14246-1 No score

Security update for Mozilla Firefox

This update contains the Mozilla Firefox ESR 68.2 release.

Mozilla Firefox was updated to ESR 68.2 release:

  • Enterprise: New administrative policies were added. More information and templates are available at the Policy Templates page.

  • Various security fixes: MFSA 2019-33 (bsc#1154738)

    • CVE-2019-15903: Heap overflow in expat library in XML_GetCurrentLineNumber
    • CVE-2019-11757: Use-after-free when creating index updates in IndexedDB
    • CVE-2019-11758: Potentially exploitable crash due to 360 Total Security
    • CVE-2019-11759: Stack buffer overflow in HKDF output
    • CVE-2019-11760: Stack buffer overflow in WebRTC networking
    • CVE-2019-11761: Unintended access to a privileged JSONView object
    • CVE-2019-11762: document.domain-based origin isolation has same-origin- property violation
    • CVE-2019-11763: Incorrect HTML parsing results in XSS bypass technique
    • CVE-2019-11764: Memory safety bugs fixed in Firefox 70 and Firefox ESR 68.2

Other Issues resolved:

  • [bsc#1104841] Newer versions of firefox have a dependency on GLIBCXX_3.4.20
  • [bsc#1074235] MozillaFirefox: background tab crash reports sent inadvertently without user opt-in
  • [bsc#1043008] Firefox hangs randomly when browsing and scrolling
  • [bsc#1025108] Firefox stops loading page until mouse is moved
  • [bsc#905528] Firefox malfunctions due to broken omni.ja archives
Record
SUSE-SU-2019:14246-1
Updated
2026-11-02
OSVSUSE-SU-2020:0114-1 No score

Security update for python3

This update for python3 to version 3.6.10 fixes the following issues:

  • CVE-2017-18207: Fixed a denial of service in Wave_read._read_fmt_chunk() (bsc#1083507).
  • CVE-2019-16056: Fixed an issue where email parsing could fail for multiple @ (bsc#1149955).
  • CVE-2019-15903: Fixed a heap-based buffer over-read in libexpat (bsc#1149429).
Record
SUSE-SU-2020:0114-1
Updated
2026-11-02
OSVUSN-4127-1 No score

python2.7, python3.5, python3.6, python3.7 vulnerabilities

It was discovered that Python incorrectly handled certain pickle files. An attacker could possibly use this issue to consume memory, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-20406)

It was discovered that Python incorrectly validated the domain when handling cookies. An attacker could possibly trick Python into sending cookies to the wrong domain. (CVE-2018-20852)

Jonathan Birch and Panayiotis Panayiotou discovered that Python incorrectly handled Unicode encoding during NFKC normalization. An attacker could possibly use this issue to obtain sensitive information. (CVE-2019-9636, CVE-2019-10160)

Colin Read and Nicolas Edet discovered that Python incorrectly handled parsing certain X509 certificates. An attacker could possibly use this issue to cause Python to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-5010)

It was discovered that Python incorrectly handled certain urls. A remote attacker could possibly use this issue to perform CRLF injection attacks. (CVE-2019-9740, CVE-2019-9947)

Sihoon Lee discovered that Python incorrectly handled the local_file: scheme. A remote attacker could possibly use this issue to bypass blocklist meschanisms. (CVE-2019-9948)

Record
USN-4127-1
Updated
2026-11-02
OSVUSN-4127-2 No score

python2.7, python3.4 vulnerabilities

USN-4127-1 fixed several vulnerabilities in Python. This update provides the corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.

Original advisory details:

It was discovered that Python incorrectly handled certain pickle files. An attacker could possibly use this issue to consume memory, leading to a denial of service. This issue only affected Ubuntu 14.04 ESM. (CVE-2018-20406)

It was discovered that Python incorrectly validated the domain when handling cookies. An attacker could possibly trick Python into sending cookies to the wrong domain. (CVE-2018-20852)

Jonathan Birch and Panayiotis Panayiotou discovered that Python incorrectly handled Unicode encoding during NFKC normalization. An attacker could possibly use this issue to obtain sensitive information. (CVE-2019-9636, CVE-2019-10160)

Colin Read and Nicolas Edet discovered that Python incorrectly handled parsing certain X509 certificates. An attacker could possibly use this issue to cause Python to crash, resulting in a denial of service. This issue only affected Ubuntu 14.04 ESM. (CVE-2019-5010)

It was discovered that Python incorrectly handled certain urls. A remote attacker could possibly use this issue to perform CRLF injection attacks. (CVE-2019-9740, CVE-2019-9947)

Sihoon Lee discovered that Python incorrectly handled the local_file: scheme. A remote attacker could possibly use this issue to bypass blocklist meschanisms. (CVE-2019-9948)

Record
USN-4127-2
Updated
2026-11-02
OSVUSN-6891-1 No score

python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12 vulnerabilities

It was discovered that Python incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 18.04 LTS. (CVE-2015-20107)

It was discovered that Python incorrectly used regular expressions vulnerable to catastrophic backtracking. A remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2018-1060, CVE-2018-1061)

It was discovered that Python failed to initialize Expat’s hash salt. A remote attacker could possibly use this issue to cause hash collisions, leading to a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2018-14647)

It was discovered that Python incorrectly handled certain pickle files. An attacker could possibly use this issue to consume memory, leading to a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2018-20406)

It was discovered that Python incorrectly validated the domain when handling cookies. An attacker could possibly trick Python into sending cookies to the wrong domain. This issue only affected Ubuntu 14.04 LTS. (CVE-2018-20852)

Jonathan Birch and Panayiotis Panayiotou discovered that Python incorrectly handled Unicode encoding during NFKC normalization. An attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-9636, CVE-2019-10160)

It was discovered that Python incorrectly parsed certain email addresses. A remote attacker could possibly use this issue to trick Python applications into accepting email addresses that should be denied. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-16056)

It was discovered that the Python documentation XML-RPC server incorrectly handled certain fields. A remote attacker could use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-16935)

It was discovered that Python documentation had a misleading information. A security issue could be possibly caused by wrong assumptions of this information. This issue only affected Ubuntu 14.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-17514)

It was discovered that Python incorrectly stripped certain characters from requests. A remote attacker could use this issue to perform CRLF injection. This issue only affected Ubuntu 14.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-18348)

It was discovered that Python incorrectly handled certain TAR archives. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-20907)

Colin Read and Nicolas Edet discovered that Python incorrectly handled parsing certain X509 certificates. An attacker could possibly use this issue to cause Python to crash, resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-5010)

It was discovered that incorrectly handled certain ZIP files. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-9674)

It was discovered that Python incorrectly handled certain urls. A remote attacker could possibly use this issue to perform CRLF injection attacks. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-9740, CVE-2019-9947)

Sihoon Lee discovered that Python incorrectly handled the local_file: scheme. A remote attacker could possibly use this issue to bypass blocklist meschanisms. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-9948)

It was discovered that Python incorrectly handled certain IP values. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 18.04 LTS. (CVE-2020-14422)

It was discovered that Python incorrectly handled certain character sequences. A remote attacker could possibly use this issue to perform CRLF injection. This issue only affected Ubuntu 14.04 LTS and Ubuntu…

Record
USN-6891-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
python3
Alpine:v3.6
before 3.6.8-r0
3.6.8-r0
python3
Alpine:v3.7
before 3.6.8-r0
3.6.8-r0
python3
Alpine:v3.8
before 3.6.8-r0
3.6.8-r0
python3.4
Debian:8
before 3.4.2-1+deb8u2, plus listed versions
3.4.2-13.4.2-1+deb8u1
3.4.2-1+deb8u2
python3.5
Debian:9
before 3.5.3-1+deb9u2, plus listed versions
3.5.3-13.5.3-1+deb9u1
3.5.3-1+deb9u2
python3
Mageia:6
before 3.5.7-1.mga6
3.5.7-1.mga6
rh-python36-python
Red Hat:rhel_software_collections:3::el6
before 0:3.6.9-2.el6
0:3.6.9-2.el6
rh-python36-python-debug
Red Hat:rhel_software_collections:3::el6
before 0:3.6.9-2.el6
0:3.6.9-2.el6
rh-python36-python-debuginfo
Red Hat:rhel_software_collections:3::el6
before 0:3.6.9-2.el6
0:3.6.9-2.el6
rh-python36-python-devel
Red Hat:rhel_software_collections:3::el6
before 0:3.6.9-2.el6
0:3.6.9-2.el6
Show 88 moreShow less
Affected packages
PackageAffectedFixed
rh-python36-python-libs
Red Hat:rhel_software_collections:3::el6
before 0:3.6.9-2.el6
0:3.6.9-2.el6
rh-python36-python-test
Red Hat:rhel_software_collections:3::el6
before 0:3.6.9-2.el6
0:3.6.9-2.el6
rh-python36-python-tkinter
Red Hat:rhel_software_collections:3::el6
before 0:3.6.9-2.el6
0:3.6.9-2.el6
rh-python36-python-tools
Red Hat:rhel_software_collections:3::el6
before 0:3.6.9-2.el6
0:3.6.9-2.el6
rh-python36-python
Red Hat:rhel_software_collections:3::el7
before 0:3.6.9-2.el7
0:3.6.9-2.el7
rh-python36-python-debug
Red Hat:rhel_software_collections:3::el7
before 0:3.6.9-2.el7
0:3.6.9-2.el7
rh-python36-python-debuginfo
Red Hat:rhel_software_collections:3::el7
before 0:3.6.9-2.el7
0:3.6.9-2.el7
rh-python36-python-devel
Red Hat:rhel_software_collections:3::el7
before 0:3.6.9-2.el7
0:3.6.9-2.el7
rh-python36-python-libs
Red Hat:rhel_software_collections:3::el7
before 0:3.6.9-2.el7
0:3.6.9-2.el7
rh-python36-python-test
Red Hat:rhel_software_collections:3::el7
before 0:3.6.9-2.el7
0:3.6.9-2.el7
rh-python36-python-tkinter
Red Hat:rhel_software_collections:3::el7
before 0:3.6.9-2.el7
0:3.6.9-2.el7
rh-python36-python-tools
Red Hat:rhel_software_collections:3::el7
before 0:3.6.9-2.el7
0:3.6.9-2.el7
python3
SUSE:Linux Enterprise Module for Basesystem 15
before 3.6.5-3.8.1
3.6.5-3.8.1
python3-base
SUSE:Linux Enterprise Module for Basesystem 15
before 3.6.5-3.8.1
3.6.5-3.8.1
python3-base
SUSE:Linux Enterprise Module for Development Tools 15
before 3.6.5-3.8.1
3.6.5-3.8.1
python3
SUSE:OpenStack Cloud 7
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:OpenStack Cloud 7
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Desktop 12 SP3
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Desktop 12 SP3
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Desktop 12 SP4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Desktop 12 SP4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Module for Web and Scripting 12
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Module for Web and Scripting 12
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server 12-LTSS
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server 12-LTSS
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server 12 SP2-BCL
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server 12 SP2-BCL
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server 12 SP3
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server 12 SP3
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server 12 SP4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server 12 SP4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Enterprise Storage 4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Enterprise Storage 4
before 3.4.6-25.21.1
3.4.6-25.21.1
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 3.4.6-25.21.1
3.4.6-25.21.1
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 3.4.6-25.21.1
3.4.6-25.21.1
MozillaFirefox
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 68.2.0-78.51.4
68.2.0-78.51.4
MozillaFirefox-branding-SLED
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 68-21.9.8
68-21.9.8
firefox-atk
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.26.1-2.8.4
2.26.1-2.8.4
firefox-cairo
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.15.10-2.13.4
1.15.10-2.13.4
firefox-gdk-pixbuf
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.36.11-2.8.4
2.36.11-2.8.4
firefox-glib2
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.54.3-2.14.7
2.54.3-2.14.7
firefox-gtk3
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.10.9-2.15.3
3.10.9-2.15.3
firefox-harfbuzz
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.7.5-2.7.4
1.7.5-2.7.4
firefox-libffi
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.2.1.git259-2.3.3
3.2.1.git259-2.3.3
firefox-libffi-gcc5
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 5.3.1+r233831-14.1
5.3.1+r233831-14.1
firefox-pango
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.40.14-2.7.4
1.40.14-2.7.4
mozilla-nspr
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 4.21-29.6.1
4.21-29.6.1
mozilla-nss
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.45-38.9.3
3.45-38.9.3
python3
SUSE:Linux Enterprise Module for Basesystem 15
before 3.6.10-3.42.2
3.6.10-3.42.2
python3-base
SUSE:Linux Enterprise Module for Basesystem 15
before 3.6.10-3.42.2
3.6.10-3.42.2
python3
SUSE:Linux Enterprise Module for Basesystem 15 SP1
before 3.6.10-3.42.2
3.6.10-3.42.2
python3-base
SUSE:Linux Enterprise Module for Basesystem 15 SP1
before 3.6.10-3.42.2
3.6.10-3.42.2
python3-base
SUSE:Linux Enterprise Module for Development Tools 15
before 3.6.10-3.42.2
3.6.10-3.42.2
python3-base
SUSE:Linux Enterprise Module for Development Tools 15 SP1
before 3.6.10-3.42.2
3.6.10-3.42.2
python3.4
Ubuntu:Pro:14.04:LTS
before 3.4.3-1ubuntu1~14.04.7+esm2, plus listed versions
3.4~b1-0ubuntu33.4~b1-4ubuntu43.4~b1-4ubuntu63.4~b1-5ubuntu23.4~b2-1
Show 13 moreShow less
3.4~b3-1ubuntu13.4~rc1-1build13.4~rc2-13.4~rc3-0ubuntu13.4.0-13.4.0-2ubuntu13.4.0-2ubuntu1.13.4.3-1ubuntu1~14.04.13.4.3-1ubuntu1~14.04.33.4.3-1ubuntu1~14.04.43.4.3-1ubuntu1~14.04.53.4.3-1ubuntu1~14.04.63.4.3-1ubuntu1~14.04.7
3.4.3-1ubuntu1~14.04.7+esm2
python3.5
Ubuntu:Pro:14.04:LTS
before 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1, plus listed versions
3.5.2-2ubuntu0~16.04.4~14.04.1
3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
python3.5
Ubuntu:16.04:LTS
before 3.5.2-2ubuntu0~16.04.8, plus listed versions
3.5.0-33.5.0-3ubuntu13.5.1~rc1-2ubuntu13.5.1-13.5.1-2
Show 13 moreShow less
3.5.1-33.5.1-53.5.1-6ubuntu13.5.1-6ubuntu23.5.1-9ubuntu13.5.1-103.5.2-2~16.013.5.2-2~16.043.5.2-2ubuntu0~16.04.13.5.2-2ubuntu0~16.04.23.5.2-2ubuntu0~16.04.33.5.2-2ubuntu0~16.04.43.5.2-2ubuntu0~16.04.5
3.5.2-2ubuntu0~16.04.8
python3.6
Ubuntu:18.04:LTS
before 3.6.7-1~18.04, plus listed versions
3.6.3-1ubuntu13.6.4~rc1-13.6.4~rc1-23.6.4-13.6.4-2
Show 5 moreShow less
3.6.4-3build13.6.4-43.6.5~rc1-13.6.5-33.6.6-1~18.04
3.6.7-1~18.04
python2.7
Ubuntu:16.04:LTS
before 2.7.12-1ubuntu0~16.04.8, plus listed versions
2.7.10-4ubuntu12.7.10-4ubuntu22.7.11-22.7.11-32.7.11-4
Show 8 moreShow less
2.7.11-62.7.11-72.7.11-7ubuntu12.7.12-1~16.042.7.12-1ubuntu0~16.04.12.7.12-1ubuntu0~16.04.22.7.12-1ubuntu0~16.04.32.7.12-1ubuntu0~16.04.4
2.7.12-1ubuntu0~16.04.8
python2.7
Ubuntu:18.04:LTS
before 2.7.15-4ubuntu4~18.04.1, plus listed versions
2.7.14-2ubuntu22.7.14-42.7.14-62.7.14-72.7.14-82.7.15~rc1-12.7.15~rc1-1ubuntu0.12.7.15-4ubuntu4~18.04
2.7.15-4ubuntu4~18.04.1
python3.6
Ubuntu:18.04:LTS
before 3.6.8-1~18.04.2, plus listed versions
3.6.3-1ubuntu13.6.4~rc1-13.6.4~rc1-23.6.4-13.6.4-2
Show 7 moreShow less
3.6.4-3build13.6.4-43.6.5~rc1-13.6.5-33.6.6-1~18.043.6.7-1~18.043.6.8-1~18.04.1
3.6.8-1~18.04.2
python2.7
Ubuntu:Pro:14.04:LTS
before 2.7.6-8ubuntu0.6+esm2, plus listed versions
2.7.5-8ubuntu32.7.5-8ubuntu42.7.6-22.7.6-2ubuntu12.7.6-3
Show 10 moreShow less
2.7.6-3ubuntu12.7.6-42.7.6-4ubuntu12.7.6-52.7.6-72.7.6-82.7.6-8ubuntu0.22.7.6-8ubuntu0.32.7.6-8ubuntu0.42.7.6-8ubuntu0.5
2.7.6-8ubuntu0.6+esm2
python3.5
Ubuntu:Pro:16.04:LTS
before 3.5.2-2ubuntu0~16.04.13+esm13, plus listed versions
3.5.0-33.5.0-3ubuntu13.5.1~rc1-2ubuntu13.5.1-13.5.1-2
Show 30 moreShow less
3.5.1-33.5.1-53.5.1-6ubuntu13.5.1-6ubuntu23.5.1-9ubuntu13.5.1-103.5.2-2~16.013.5.2-2~16.043.5.2-2ubuntu0~16.04.13.5.2-2ubuntu0~16.04.23.5.2-2ubuntu0~16.04.33.5.2-2ubuntu0~16.04.43.5.2-2ubuntu0~16.04.53.5.2-2ubuntu0~16.04.83.5.2-2ubuntu0~16.04.93.5.2-2ubuntu0~16.04.103.5.2-2ubuntu0~16.04.113.5.2-2ubuntu0~16.04.123.5.2-2ubuntu0~16.04.133.5.2-2ubuntu0~16.04.13+esm13.5.2-2ubuntu0~16.04.13+esm23.5.2-2ubuntu0~16.04.13+esm33.5.2-2ubuntu0~16.04.13+esm53.5.2-2ubuntu0~16.04.13+esm63.5.2-2ubuntu0~16.04.13+esm73.5.2-2ubuntu0~16.04.13+esm83.5.2-2ubuntu0~16.04.13+esm93.5.2-2ubuntu0~16.04.13+esm103.5.2-2ubuntu0~16.04.13+esm113.5.2-2ubuntu0~16.04.13+esm12
3.5.2-2ubuntu0~16.04.13+esm13
python3.6
Ubuntu:Pro:18.04:LTS
before 3.6.9-1~18.04ubuntu1.13+esm2, plus listed versions
3.6.3-1ubuntu13.6.4~rc1-13.6.4~rc1-23.6.4-13.6.4-2
Show 22 moreShow less
3.6.4-3build13.6.4-43.6.5~rc1-13.6.5-33.6.6-1~18.043.6.7-1~18.043.6.8-1~18.04.13.6.8-1~18.04.23.6.8-1~18.04.33.6.9-1~18.043.6.9-1~18.04ubuntu13.6.9-1~18.04ubuntu1.13.6.9-1~18.04ubuntu1.33.6.9-1~18.04ubuntu1.43.6.9-1~18.04ubuntu1.63.6.9-1~18.04ubuntu1.73.6.9-1~18.04ubuntu1.83.6.9-1~18.04ubuntu1.93.6.9-1~18.04ubuntu1.103.6.9-1~18.04ubuntu1.123.6.9-1~18.04ubuntu1.133.6.9-1~18.04ubuntu1.13+esm1
3.6.9-1~18.04ubuntu1.13+esm2
python3.7
Ubuntu:Pro:18.04:LTS
before 3.7.5-2ubuntu1~18.04.2+esm3, plus listed versions
3.7.0~a2-13.7.0~a3-13.7.0~a3-23.7.0~a3-33.7.0~a4-1
Show 12 moreShow less
3.7.0~b1-13.7.0~b1-1build13.7.0~b2-13.7.0~b3-13.7.0-1~18.043.7.1-1~18.043.7.3-2~18.04.13.7.5-2~18.043.7.5-2~18.04.43.7.5-2ubuntu1~18.04.23.7.5-2ubuntu1~18.04.2+esm13.7.5-2ubuntu1~18.04.2+esm2
3.7.5-2ubuntu1~18.04.2+esm3
python3.8
Ubuntu:Pro:18.04:LTS
before 3.8.0-3ubuntu1~18.04.2+esm2, plus listed versions
3.8.0-3~18.043.8.0-3~18.04.13.8.0-3ubuntu1~18.04.23.8.0-3ubuntu1~18.04.2+esm1
3.8.0-3ubuntu1~18.04.2+esm2
python3.8
Ubuntu:20.04:LTS
before 3.8.10-0ubuntu1~20.04.10, plus listed versions
3.8.0-13.8.0-23.8.0-33.8.0-43.8.0-5
Show 18 moreShow less
3.8.1-2ubuntu33.8.2~rc1-1ubuntu13.8.2-13.8.2-1ubuntu13.8.2-1ubuntu1.13.8.2-1ubuntu1.23.8.5-1~20.043.8.5-1~20.04.23.8.5-1~20.04.33.8.10-0ubuntu1~20.043.8.10-0ubuntu1~20.04.13.8.10-0ubuntu1~20.04.23.8.10-0ubuntu1~20.04.43.8.10-0ubuntu1~20.04.53.8.10-0ubuntu1~20.04.63.8.10-0ubuntu1~20.04.73.8.10-0ubuntu1~20.04.83.8.10-0ubuntu1~20.04.9
3.8.10-0ubuntu1~20.04.10
python3.9
Ubuntu:Pro:20.04:LTS
before 3.9.5-3ubuntu0~20.04.1+esm2, plus listed versions
3.9.0~rc1-1~20.043.9.0-5~20.043.9.5-3~20.04.13.9.5-3ubuntu0~20.04.13.9.5-3ubuntu0~20.04.1+esm1
3.9.5-3ubuntu0~20.04.1+esm2
python3.10
Ubuntu:22.04:LTS
before 3.10.12-1~22.04.4, plus listed versions
3.10.0-23.10.0-33.10.0-43.10.0-53.10.0-5build1
Show 15 moreShow less
3.10.1-13.10.1-23.10.2-13.10.2-53.10.2-73.10.3-13.10.4-33.10.4-3ubuntu0.13.10.6-1~22.043.10.6-1~22.04.13.10.6-1~22.04.23.10.6-1~22.04.2ubuntu13.10.6-1~22.04.2ubuntu1.13.10.12-1~22.04.23.10.12-1~22.04.3
3.10.12-1~22.04.4
python3.11
Ubuntu:Pro:22.04:LTS
before 3.11.0~rc1-1~22.04.1~esm1, plus listed versions
3.11.0~rc1-1~22.04
3.11.0~rc1-1~22.04.1~esm1
python3
openSUSE:Leap 15.0
before 3.6.5-lp150.2.6.1
3.6.5-lp150.2.6.1
python3-base
openSUSE:Leap 15.0
before 3.6.5-lp150.2.6.1
3.6.5-lp150.2.6.1
python3
openSUSE:Leap 15.1
before 3.6.10-lp151.6.7.1
3.6.10-lp151.6.7.1
python3-base
openSUSE:Leap 15.1
before 3.6.10-lp151.6.7.1
3.6.10-lp151.6.7.1
python36
openSUSE:Tumbleweed
before 3.6.15-1.1
3.6.15-1.1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-20406 is a high vulnerability (CVSS 7.5) in Python, published December 23, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.79%, the 93rd percentile. Fixed in python3 3.6.8-r0.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 227 references and the rest of 1 source description. The JSON record has them.

MoveEnter Open