Read the docs
TI-2018-00981 Aliases CVE-2018-1061GHSA-gf62-w85x-fjpv

Improper input validation in [UNKNOWN] python

Priority MEDIUM 40CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 28 fixed, 3 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.

Summary

python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in the difflib.IS_LINE_JUNK method. An attacker could use this flaw to cause denial of service.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.04742 91st percentileScored 2026-11-07
Fix Partial Red Hat: 5 advisoriesRed Hat: 28 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
[UNKNOWN]pythonpython 2.7.15; python 3.4.9; python 3.5.6; python 3.7.0—No fix listedCNA
  • python Vendor[UNKNOWN] Affected python 2.7.15; python 3.4.9; python 3.5.6; python 3.7.0 Fixed in — No fix listed CNA

CPE configurations NVD · 24

CPEVersionsRoleVendor
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*before 2.7.15; 3.0 to before 3.4.9; 3.5.0 – 3.5.5; 3.6 – 3.6.4Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:alpha1:*:*:*:*:*:*3.7.0 alpha1Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:alpha2:*:*:*:*:*:*3.7.0 alpha2Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:alpha3:*:*:*:*:*:*3.7.0 alpha3Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:alpha4:*:*:*:*:*:*3.7.0 alpha4Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:beta1:*:*:*:*:*:*3.7.0 beta1Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:beta2:*:*:*:*:*:*3.7.0 beta2Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:beta3:*:*:*:*:*:*3.7.0 beta3Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:beta4:*:*:*:*:*:*3.7.0 beta4Vulnerablepython-pillow
cpe:2.3:a:python:python:3.7.0:beta5:*:*:*:*:*:*3.7.0 beta5Vulnerablepython-pillow
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions before 2.7.15; 3.0 to before 3.4.9; 3.5.0 – 3.5.5; 3.6 – 3.6.4 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:alpha1:*:*:*:*:*:* Versions 3.7.0 alpha1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:alpha2:*:*:*:*:*:* Versions 3.7.0 alpha2 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:alpha3:*:*:*:*:*:* Versions 3.7.0 alpha3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:alpha4:*:*:*:*:*:* Versions 3.7.0 alpha4 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:beta1:*:*:*:*:*:* Versions 3.7.0 beta1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:beta2:*:*:*:*:*:* Versions 3.7.0 beta2 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:beta3:*:*:*:*:*:* Versions 3.7.0 beta3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:beta4:*:*:*:*:*:* Versions 3.7.0 beta4 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.7.0:beta5:*:*:*:*:*:* Versions 3.7.0 beta5 Vulnerable ·python-pillow
Show 14 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:python:python:3.7.0:rc1:*:*:*:*:*:*3.7.0 rc1Vulnerablepython-pillow
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:*3.3VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*12.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*16.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*18.04VulnerableCanonical
cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*28VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*29VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*30VulnerableFedoraproject
  • cpe:2.3:a:python:python:3.7.0:rc1:*:*:*:*:*:* Versions 3.7.0 rc1 Vulnerable ·python-pillow
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
  • cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:* Versions 3.3 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
  • cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* Versions 28 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject

Remediation

Red Hat 5 advisories

  • RHSA-2020:1346 Released 2020-04-07 · Red Hat rating Moderate
    python security update
    • Red Hat Enterprise Linux Server AUS (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
    • Red Hat Enterprise Linux Server E4S (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
    • Red Hat Enterprise Linux Server Optional AUS (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
    • Red Hat Enterprise Linux Server Optional E4S (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
    • Red Hat Enterprise Linux Server Optional TUS (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
    • Red Hat Enterprise Linux Server TUS (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
  • RHSA-2020:1268 Released 2020-04-01 · Red Hat rating Moderate
    python security update
    • Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) python-2.7.5-74.el7_5, python-devel-2.7.5-74.el7_5, python-libs-2.7.5-74.el7_5
    • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) python-debug-2.7.5-74.el7_5, python-test-2.7.5-74.el7_5, python-tools-2.7.5-74.el7_5 +1
    • Red Hat Enterprise Linux Server EUS (v. 7.5) python-2.7.5-74.el7_5, python-devel-2.7.5-74.el7_5, python-libs-2.7.5-74.el7_5 +1
    • Red Hat Enterprise Linux Server Optional EUS (v. 7.5) python-debug-2.7.5-74.el7_5, python-test-2.7.5-74.el7_5, python-tools-2.7.5-74.el7_5 +1
  • RHSA-2019:3725 Released 2019-11-06 · Red Hat rating Moderate
    rh-python36-python security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-python36-python-3.6.9-2.el6, rh-python36-python-debug-3.6.9-2.el6, rh-python36-python-devel-3.6.9-2.el6 +4
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-python36-python-3.6.9-2.el6, rh-python36-python-debug-3.6.9-2.el6, rh-python36-python-devel-3.6.9-2.el6 +4
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
Show 2 more Red Hat advisories
  • RHSA-2019:1260 Released 2019-05-22 · Red Hat rating Important
    python27-python and python27-python-jinja2 security and bug fix update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) python27-python-2.7.16-4.el6, python27-python-debug-2.7.16-4.el6, python27-python-devel-2.7.16-4.el6 +5
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) python27-python-2.7.16-4.el6, python27-python-debug-2.7.16-4.el6, python27-python-devel-2.7.16-4.el6 +5
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
  • RHSA-2018:3041 Released 2018-10-30 · Red Hat rating Moderate
    python security and bug fix update
    • Red Hat Enterprise Linux Client (v. 7) python-2.7.5-76.el7, python-libs-2.7.5-76.el7
    • Red Hat Enterprise Linux Client Optional (v. 7) python-debug-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-test-2.7.5-76.el7 +2
    • Red Hat Enterprise Linux ComputeNode (v. 7) python-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-libs-2.7.5-76.el7
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-debug-2.7.5-76.el7, python-test-2.7.5-76.el7, python-tools-2.7.5-76.el7 +1
    • Red Hat Enterprise Linux Server (v. 7) python-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-libs-2.7.5-76.el7 +1
    • Red Hat Enterprise Linux Server Optional (v. 7) python-debug-2.7.5-76.el7, python-test-2.7.5-76.el7, python-tools-2.7.5-76.el7 +1
    • Red Hat Enterprise Linux Workstation (v. 7) python-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-libs-2.7.5-76.el7
    • Red Hat Enterprise Linux Workstation Optional (v. 7) python-debug-2.7.5-76.el7, python-test-2.7.5-76.el7, python-tools-2.7.5-76.el7 +1
    • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) python-2.7.5-76.el7, python-devel-2.7.5-76.el7, python-libs-2.7.5-76.el7
    • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) python-debug-2.7.5-76.el7, python-test-2.7.5-76.el7, python-tools-2.7.5-76.el7 +1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    [UNKNOWN] python — RHSA-2018:3041

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

    • TI-2018-00980 Improper input validation in [UNKNOWN] pythonPriority MEDIUM 47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux ComputeNode (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)Fixed RHSA-2020:1268
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5)Fixed RHSA-2020:1268
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux Server AUS (v. 7.4)Fixed RHSA-2020:1346
Red Hat Enterprise Linux Server E4S (v. 7.4)Fixed RHSA-2020:1346
Red Hat Enterprise Linux Server EUS (v. 7.5)Fixed RHSA-2020:1268
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux Server Optional AUS (v. 7.4)Fixed RHSA-2020:1346
Red Hat Enterprise Linux Server Optional E4S (v. 7.4)Fixed RHSA-2020:1346
Red Hat Enterprise Linux Server Optional EUS (v. 7.5)Fixed RHSA-2020:1268
Red Hat Enterprise Linux Server Optional TUS (v. 7.4)Fixed RHSA-2020:1346
Red Hat Enterprise Linux Server TUS (v. 7.4)Fixed RHSA-2020:1346
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)Fixed RHSA-2018:3041
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7)Fixed RHSA-2018:3041
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2019:1260, RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2019:1260, RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)Fixed RHSA-2019:1260
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)Fixed RHSA-2019:1260, RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)Fixed RHSA-2019:1260, RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)Fixed RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2019:1260, RHSA-2019:3725
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2019:1260, RHSA-2019:3725

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-1061
  2. 2026-10-03 Alias added: GHSA-gf62-w85x-fjpv
  3. 2026-10-16 CISA SSVC decision points changed

References

Sources