Home / Canonical / Ubuntu Linux / CVE-2018-7536
CVE-2018-7536: is it exploited, and which versions of Canonical Ubuntu Linux are affected and fixed?
CVE-2018-7536 is an incorrect Regular Expression vulnerability in Canonical Ubuntu Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: Django from 2.0a1 before 2.0.3, Django from 1.11a1 before 1.11.11 and Django from 1.8a1 before 1.8.19 (GitHub advisory GHSA-r28v-mw67-m5p9). Fixed in 2.0.3, 1.11.11 and 1.8.19 (GitHub advisory GHSA-r28v-mw67-m5p9). Severity: Medium (5.3, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:34 UTC.
What is CVE-2018-7536?
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. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable.
From the CVE record by mitre, last updated August 5, 2024, 06:31 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | Django | >= 2.0a1, < 2.0.3 | 2.0.3 | GHSA-r28v-mw67-m5p9 |
| PyPI | Django | >= 1.11a1, < 1.11.11 | 1.11.11 | GHSA-r28v-mw67-m5p9 |
| PyPI | Django | >= 1.8a1, < 1.8.19 | 1.8.19 | GHSA-r28v-mw67-m5p9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 18, 2024. Summary: Django denial-of-service possibility in urlize and urlizetrunc template filters.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 17.10 | operating system |
| djangoproject | django | from 1.8 before 1.8.19 | application |
| djangoproject | django | from 1.11 before 1.11.11 | application |
| djangoproject | django | from 2.0 before 2.0.3 | application |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| redhat | openstack | 10 | application |
| redhat | openstack | 13 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:03 UTC.
How severe is CVE-2018-7536?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-7536 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.55% probability of exploitation activity in the next 30 days, percentile 91.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-185 Incorrect Regular Expression
Where are the vendor advisories and references?
- USN-3591-1 vendor-advisory
- RHSA-2019:0051 vendor-advisory
- [debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update mailing-list
- 103361 vdb-entry
- https://www.djangoproject.com/weblog/2018/mar/06/security-releases/
- RHSA-2019:0082 vendor-advisory
- RHSA-2018:2927 vendor-advisory
- RHSA-2019:0265 vendor-advisory
- DSA-4161 vendor-advisory
- https://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2
- https://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16
- https://github.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8
When was it published, and where is the official record?
- Reserved
- February 26, 2018
- Published
- March 9, 2018, 00:00 UTC
- CVE record updated
- August 5, 2024, 06:31 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:03 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:34 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ubuntu Linux?
- Apr 30, 2020CVE-2020-11652 Saltstack Salt: path traversal (reading or writing files outside the intended folder) exploited
- Apr 30, 2020CVE-2020-11651 Saltstack Salt: improper input validation exploited
- Jan 29, 2020CVE-2020-7247 Openbsd Opensmtpd: OS command injection exploited
- Sep 27, 2019CVE-2019-16928 Exim: out-of-bounds write (memory corruption) exploited
- Jul 17, 2019CVE-2019-13272 Linux Kernel: n/a exploited
- Feb 8, 2018CVE-2018-6789 Exim: buffer overflow exploited
- Nov 10, 2016CVE-2016-5195 Canonical Ubuntu Linux: race condition exploited
- May 5, 2016CVE-2016-3714 Imagemagick: improper input validation exploited
Questions about CVE-2018-7536
Is CVE-2018-7536 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 4.55% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical Ubuntu Linux are affected by CVE-2018-7536?
Django from 2.0a1 before 2.0.3, Django from 1.11a1 before 1.11.11 and Django from 1.8a1 before 1.8.19, per the GitHub advisory GHSA-r28v-mw67-m5p9. The tables above give every range the sources list.
Which version fixes CVE-2018-7536?
2.0.3, 1.11.11 and 1.8.19, per the GitHub advisory GHSA-r28v-mw67-m5p9. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-7536?
Medium (5.3, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-7536?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.