CVE-2025-26699
Python packages · CVE-2025-26699
An issue was discovered in Django 5.1 before 5.1.7, 5.0 before 5.0.13, and 4.2 before 4.2.20. The django.utils.text.wrap() method and wordwrap template filter are subject to a potential denial-of-service attack when used with very long strings.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.830% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5 · published by mitreCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:57:28.969Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:28.969Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.588Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:01.389Z | OSV |
| affected | verified | 2026-11-19T12:57:28.969Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:28.969Z | CVE Program |
Affected versions and configuration
djangoproject Django; default status: unknown: 4.2 to < 4.2.20 [affected; scheme: custom]; 5.0 to < 5.0.13 [affected; scheme: custom]; 5.1 to < 5.1.7 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "djangoproject",
"product": "Django",
"versions": [
{
"status": "affected",
"version": "4.2",
"lessThan": "4.2.20",
"versionType": "custom"
},
{
"status": "affected",
"version": "5.0",
"lessThan": "5.0.13",
"versionType": "custom"
},
{
"status": "affected",
"version": "5.1",
"lessThan": "5.1.7",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2025/03/06/12"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00012.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-03-19T20:03:03.946Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-26699",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-03-06T20:30:28.270345Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-06T20:30:47.224Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-p3fp-8748-vqfq",
"aliases": [
"BIT-django-2025-26699",
"CVE-2025-26699",
"PYSEC-2025-13"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2"
},
{
"fixed": "4.2.20"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"4.2",
"4.2.1",
"4.2.10",
"4.2.11",
"4.2.12",
"4.2.13",
"4.2.14",
"4.2.15",
"4.2.16",
"4.2.17",
"4.2.18",
"4.2.19",
"4.2.2",
"4.2.3",
"4.2.4",
"4.2.5",
"4.2.6",
"4.2.7",
"4.2.8",
"4.2.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-p3fp-8748-vqfq/GHSA-p3fp-8748-vqfq.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0"
},
{
"fixed": "5.0.13"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"5.0",
"5.0.1",
"5.0.10",
"5.0.11",
"5.0.12",
"5.0.2",
"5.0.3",
"5.0.4",
"5.0.5",
"5.0.6",
"5.0.7",
"5.0.8",
"5.0.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-p3fp-8748-vqfq/GHSA-p3fp-8748-vqfq.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.1"
},
{
"fixed": "5.1.7"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"5.1",
"5.1.1",
"5.1.2",
"5.1.3",
"5.1.4",
"5.1.5",
"5.1.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-p3fp-8748-vqfq/GHSA-p3fp-8748-vqfq.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-26699",
"type": "ADVISORY"
},
{
"url": "https://github.com/django/django/commit/4f2765232336b8ad0afd8017d9d912ae93470017",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/8dbb44d34271637099258391dfc79df33951b841",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b45860",
"type": "WEB"
},
{
"url": "https://docs.djangoproject.com/en/dev/releases/security",
"type": "WEB"
},
{
"url": "https://github.com/django/django",
"type": "PACKAGE"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-13.yaml",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/django-announce",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00012.html",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2025/mar/06/security-releases",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/03/06/12",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-770"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-03-06T19:15:27Z",
"github_reviewed_at": "2025-03-06T22:35:37Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2025-13",
"aliases": [
"BIT-django-2025-26699",
"CVE-2025-26699",
"GHSA-p3fp-8748-vqfq"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.1"
},
{
"fixed": "5.1.7"
},
{
"introduced": "5.0"
},
{
"fixed": "5.0.13"
},
{
"introduced": "4.2"
},
{
"fixed": "4.2.20"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"4.2",
"4.2.1",
"4.2.10",
"4.2.11",
"4.2.12",
"4.2.13",
"4.2.14",
"4.2.15",
"4.2.16",
"4.2.17",
"4.2.18",
"4.2.19",
"4.2.2",
"4.2.3",
"4.2.4",
"4.2.5",
"4.2.6",
"4.2.7",
"4.2.8",
"4.2.9",
"5.0",
"5.0.1",
"5.0.10",
"5.0.11",
"5.0.12",
"5.0.2",
"5.0.3",
"5.0.4",
"5.0.5",
"5.0.6",
"5.0.7",
"5.0.8",
"5.0.9",
"5.1",
"5.1.1",
"5.1.2",
"5.1.3",
"5.1.4",
"5.1.5",
"5.1.6"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2025-13.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://www.djangoproject.com/weblog/2025/mar/06/security-releases/",
"type": "ARTICLE"
},
{
"url": "https://docs.djangoproject.com/en/dev/releases/security/",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/django-announce",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/03/06/12",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00012.html",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-p3fp-8748-vqfq",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 4.2.20 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 5.0.13 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 5.1.7 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2025-03-06T21:31:26.000Z
Source modification: 2026-11-04T22:45:04.156ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2025-03-06T19:15:27.000Z
Source modification: 2026-06-10T17:01:07.355ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:28.969ZArchived source JSON
Source publication: 2025-03-06T00:00:00.000Z
Source modification: 2025-03-19T20:03:03.946ZDocument fingerprint
2eb22b98476b503011f278ca29a295a4d4de4cf78b05a90b87884d9abb0f2d95 - FIRST EPSSConsulted: 2026-11-19T16:04:40.588ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f828727fd2419e9ee62887077d52e76b99e46a1d7a1ce89e08e7e861a70ba109
Official status history
- UNKNOWN → PUBLISHED · · evidence