Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-1061

published medium CVSS 3.0 · 6.5

python: DOS via regular expression backtracking in difflib.IS_LINE_JUNK method in difflib

Title from Red Hat VEX

Published
19 Jun 2018, 12:00:00 UTC
Updated
15 Oct 2026, 17:20:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
[UNKNOWN] — pythonpython 2.7.15 · python 3.4.9 · python 3.5.6 · python 3.7.0 Affected Not stated redhat
Amazon Linux AL2 Release evaluationALAS2-2019-1230 Fixed Not stated Amazon Linux assessment
Oracle Linux 7 pythonaarch64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Red Hat Enterprise Linux RHEL-7 pythonaarch64 Advisory build 2.7.5-76.el7 RHSA-2018:3041
SUSE / openSUSE SLE-11-SP3 pythoni586 Advisory build 2.6.9-40.15.1 SUSE-SU-2018:2408-1
Alpine Linux v3.10 python2 Fixed 2.7.15-r0 Package fix record
Debian jessie python2.7 Advisory build 2.7.9-2+deb8u2 DLA-1519-1
Oracle Linux 7 pythonx86_64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-7 pythonppc64 Advisory build 2.7.5-74.el7_5 RHSA-2020:1268
Red Hat Enterprise Linux RHEL-7 pythonppc64 Advisory build 2.7.5-76.el7 RHSA-2018:3041
Red Hat Enterprise Linux RHEL-7 pythonppc64le Advisory build 2.7.5-63.el7_4 RHSA-2020:1346
Red Hat Enterprise Linux RHEL-7 pythonppc64le Advisory build 2.7.5-74.el7_5 RHSA-2020:1268
Red Hat Enterprise Linux RHEL-7 pythonppc64le Advisory build 2.7.5-76.el7 RHSA-2018:3041
Red Hat Enterprise Linux RHEL-7 pythons390x Advisory build 2.7.5-74.el7_5 RHSA-2020:1268
Red Hat Enterprise Linux RHEL-7 pythons390x Advisory build 2.7.5-76.el7 RHSA-2018:3041
Red Hat Enterprise Linux RHEL-7 pythonsrc Advisory build 2.7.5-63.el7_4 RHSA-2020:1346
Red Hat Enterprise Linux RHEL-7 pythonsrc Advisory build 2.7.5-74.el7_5 RHSA-2020:1268
Red Hat Enterprise Linux RHEL-7 pythonsrc Advisory build 2.7.5-76.el7 RHSA-2018:3041
Red Hat Enterprise Linux RHEL-7 pythonx86_64 Advisory build 2.7.5-63.el7_4 RHSA-2020:1346
Red Hat Enterprise Linux RHEL-7 pythonx86_64 Advisory build 2.7.5-74.el7_5 RHSA-2020:1268
Red Hat Enterprise Linux RHEL-7 pythonx86_64 Advisory build 2.7.5-76.el7 RHSA-2018:3041
SUSE / openSUSE SLE-11-SP3 pythons390x Advisory build 2.6.9-40.15.1 SUSE-SU-2018:2408-1
SUSE / openSUSE SLE-11-SP3 pythonx86_64 Advisory build 2.6.9-40.15.1 SUSE-SU-2018:2408-1
SUSE / openSUSE SLE-12-SP3 pythonaarch64 Advisory build 2.7.13-28.16.1 SUSE-SU-2018:3554-1
SUSE / openSUSE SLE-12-SP3 pythonppc64le Advisory build 2.7.13-28.16.1 SUSE-SU-2018:3554-1
SUSE / openSUSE SLE-12-SP3 pythons390x Advisory build 2.7.13-28.16.1 SUSE-SU-2018:3554-1
SUSE / openSUSE SLE-12-SP3 pythonx86_64 Advisory build 2.7.13-28.16.1 SUSE-SU-2018:3554-1
SUSE / openSUSE SLE-12-SP4 pythonaarch64 Advisory build 2.7.13-28.16.1 SUSE-SU-2018:3554-2
SUSE / openSUSE SLE-12-SP4 pythonppc64le Advisory build 2.7.13-28.16.1 SUSE-SU-2018:3554-2
SUSE / openSUSE SLE-12-SP4 pythons390x Advisory build 2.7.13-28.16.1 SUSE-SU-2018:3554-2
SUSE / openSUSE SLE-12-SP4 pythonx86_64 Advisory build 2.7.13-28.16.1 SUSE-SU-2018:3554-2
SUSE / openSUSE SLE-15 pythonaarch64 Advisory build 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SUSE / openSUSE SLE-15 pythonppc64le Advisory build 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SUSE / openSUSE SLE-15 pythons390x Advisory build 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SUSE / openSUSE SLE-15 pythonx86_64 Advisory build 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SUSE / openSUSE SLE-15-SP1 pythonaarch64 Advisory build 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SUSE / openSUSE SLE-15-SP1 pythonppc64le Advisory build 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SUSE / openSUSE SLE-15-SP1 pythons390x Advisory build 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SUSE / openSUSE SLE-15-SP1 pythonx86_64 Advisory build 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SUSE / openSUSE openSUSE-Tumbleweed pythonaarch64 Advisory build 2.7.18-8.1 OPENSUSE-SU-2024:11202-1
SUSE / openSUSE openSUSE-Tumbleweed pythonppc64le Advisory build 2.7.18-8.1 OPENSUSE-SU-2024:11202-1
SUSE / openSUSE openSUSE-Tumbleweed pythons390x Advisory build 2.7.18-8.1 OPENSUSE-SU-2024:11202-1
SUSE / openSUSE openSUSE-Tumbleweed pythonx86_64 Advisory build 2.7.18-8.1 OPENSUSE-SU-2024:11202-1
Alpine Linux v3.10 python2-tkinter Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.11 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.11 python2-tkinter Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.12 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.13 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.14 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.15 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.5 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.5 python3 Fixed 3.5.6-r0 Package fix record
Alpine Linux v3.6 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.6 python3 Fixed 3.6.5-r0 Package fix record
Alpine Linux v3.7 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.7 python3 Fixed 3.6.5-r0 Package fix record
Alpine Linux v3.8 python3 Fixed 3.6.6-r0 Package fix record
Alpine Linux v3.9 python2 Fixed 2.7.15-r0 Package fix record
Alpine Linux v3.9 python2-tkinter Fixed 2.7.15-r0 Package fix record
Debian jessie python3.4 Advisory build 3.4.2-1+deb8u1 DLA-1520-1
Debian stretch python2.7 Advisory build 2.7.13-2+deb9u3 DSA-4306-1
Debian stretch python3.5 Advisory build 3.5.3-1+deb9u1 DSA-4307-1
Oracle Linux 7 python-debugaarch64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-debugx86_64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-develaarch64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-develx86_64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-libsaarch64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-libsx86_64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-testaarch64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-testx86_64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-toolsaarch64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 python-toolsx86_64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 tkinteraarch64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Oracle Linux 7 tkinterx86_64 Advisory build 0:2.7.5-76.0.1.el7 ELSA-2018-3041
Red Hat Enterprise Linux RHEL-6 python27-pythonsrc Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-pythonx86_64 Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-python-debugx86_64 Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-python-debuginfox86_64 Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-python-develx86_64 Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-python-jinja2noarch Advisory build 2.6-12.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-python-jinja2src Advisory build 2.6-12.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-python-libsx86_64 Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-python-testx86_64 Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-python-toolsx86_64 Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 python27-tkinterx86_64 Advisory build 2.7.16-4.el6 RHSA-2019:1260
Red Hat Enterprise Linux RHEL-6 rh-python36-pythonsrc Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-6 rh-python36-pythonx86_64 Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-6 rh-python36-python-debugx86_64 Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-6 rh-python36-python-debuginfox86_64 Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-6 rh-python36-python-develx86_64 Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-6 rh-python36-python-libsx86_64 Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-6 rh-python36-python-testx86_64 Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-6 rh-python36-python-tkinterx86_64 Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-6 rh-python36-python-toolsx86_64 Advisory build 3.6.9-2.el6 RHSA-2019:3725
Red Hat Enterprise Linux RHEL-7 python-debugaarch64 Advisory build 2.7.5-76.el7 RHSA-2018:3041
Red Hat Enterprise Linux RHEL-7 python-debugppc64 Advisory build 2.7.5-74.el7_5 RHSA-2020:1268
Red Hat Enterprise Linux RHEL-7 python-debugppc64 Advisory build 2.7.5-76.el7 RHSA-2018:3041
Red Hat Enterprise Linux RHEL-7 python-debugppc64le Advisory build 2.7.5-63.el7_4 RHSA-2020:1346
Red Hat Enterprise Linux RHEL-7 python-debugppc64le Advisory build 2.7.5-74.el7_5 RHSA-2020:1268
Red Hat Enterprise Linux RHEL-7 python-debugppc64le Advisory build 2.7.5-76.el7 RHSA-2018:3041
Red Hat Enterprise Linux RHEL-7 python-debugs390x Advisory build 2.7.5-74.el7_5 RHSA-2020:1268
Red Hat Enterprise Linux RHEL-7 python-debugs390x Advisory build 2.7.5-76.el7 RHSA-2018:3041

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

49

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
6.5 / 10
Severity
medium
Provider
redhat · cna
Vector string
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
[UNKNOWN] python python 2.7.15 (affected)python 3.4.9 (affected)python 3.5.6 (affected)python 3.7.0 (affected) redhat · cna

Weaknesses

1
  • CWE-20 (redhat · cna)

References

21

Provider assertions

3

redhat · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
f9523458b5ad1721b2fd09441ea263f57edec38a376a35fc97d3505365eec02e
Ingested
15 Oct 2026, 17:54:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected