5.3

CVE-2018-7537: canonical ubuntu_linux Incorrect Regular Expression

Modified
AliasesALPINE-CVE-2018-7537GHSA-2f9x-5v75-3qv4PYSEC-2018-6
Published 09-03-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-7537 is a medium (CVSS 5.3) Incorrect Regular Expression vulnerability in canonical ubuntu_linux. EPSS estimates a 4.37% chance of exploitation in the next 30 days, higher than 91.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.0 (NVD)
EPSS score
4.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 19 · Related 14

Timeline

  1. 09-03-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.

CVSS metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

4.37%

Chance of exploitation in the next 30 days

Percentile

92%

Versus all other CVEs

30-day change

No change 0.00 pp

From 4.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine2 products
  • py-django< 1.11.11-r0 | < 1.8.19-r0
  • py3-django< 1.11.11-r0
Debian2 products
Canonical1 product
Djangoproject1 product
  • django≥ 1.8, < 1.8.19 | ≥ 1.11, < 1.11.11 | ≥ 2.0, < 2.0.3
PyPI1 product
  • django≥ 1.11, < 1.11.11 | ≥ 1.8, < 1.8.19 | ≥ 2.0, < 2.0.3
Ubuntu1 product
  • python-django< 1.6.11-0ubuntu1.2 | < 1.8.7-1ubuntu5.6

6 vendors · 8 products

References

21 links
Show all 21 references