---
id: CVE-2024-24680
title: >-
  An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and
  Django 5.0 before 5.0.2
summary: >-
  An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and
  Django 5.0 before 5.0.2. The intcomma template filter was subject to a
  potential denial-of-service attack when used with very long strings.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: djangoproject
product: django
affected:
  - 'django >= 3.2, < 3.2.24'
  - 'django >= 4.2, < 4.2.10'
  - 'django >= 5.0, < 5.0.2'
patched:
  - django 5.0.2
published: '2024-02-06'
updated: '2026-06-17'
sourceUpdated: '2026-06-17T07:14:40.683'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-24680'
references:
  - url: 'https://docs.djangoproject.com/en/5.0/releases/security/'
    label: cve@mitre.org
  - url: 'https://groups.google.com/forum/#%21forum/django-announce'
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/
    label: cve@mitre.org
  - url: 'https://www.djangoproject.com/weblog/2024/feb/06/security-releases/'
    label: cve@mitre.org
  - url: 'https://docs.djangoproject.com/en/5.0/releases/security/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://groups.google.com/forum/#%21forum/django-announce'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.djangoproject.com/weblog/2024/feb/06/security-releases/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2025-05-08T17:27:36.284904Z'
ingestedAt: '2026-09-14T08:53:06.844Z'
epss: 0.01606
epssPercentile: 0.74832
---

## Overview

An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and Django 5.0 before 5.0.2. The intcomma template filter was subject to a potential denial-of-service attack when used with very long strings.

## Affected

- `django >= 3.2, < 3.2.24`
- `django >= 4.2, < 4.2.10`
- `django >= 5.0, < 5.0.2`

## Remediation

Upgrade past the affected range:

- `django 5.0.2`
