---
id: CVE-2024-39614
aliases:
  - GHSA-f6f8-9mx6-9mx2
  - BIT-django-2024-39614
  - PYSEC-2024-59
title: Django vulnerable to Denial of Service
summary: Django vulnerable to Denial of Service
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: django
product: django
ecosystem: pip
affected:
  - 'django >= 5.0, < 5.0.7'
  - 'django >= 4.2, < 4.2.14'
patched:
  - django 5.0.7
  - django 4.2.14
published: '2024-07-10'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:16.650505458Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-f6f8-9mx6-9mx2'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-39614'
  - url: >-
      https://github.com/django/django/commit/17358fb35fb7217423d4c4877ccb6d1a3a40b1c3
  - url: >-
      https://github.com/django/django/commit/8e7a44e4bec0f11474699c3111a5e0a45afe7f49
  - url: 'https://docs.djangoproject.com/en/dev/releases/security'
  - url: 'https://github.com/django/django'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-59.yaml
  - url: 'https://groups.google.com/forum/#%21forum/django-announce'
  - url: 'https://security.netapp.com/advisory/ntap-20240808-0005'
  - url: 'https://www.djangoproject.com/weblog/2024/jul/09/security-releases'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.28637
epssPercentile: 0.98072
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/Abdurahmon3236/-CVE-2024-39614'
  checkedAt: '2026-09-25T08:20:43.296Z'
exploitAvailable: true
ingestedAt: '2026-09-12T03:13:01.690Z'
---

## Overview

An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. `get_supported_language_variant()` was subject to a potential denial-of-service attack when used with very long strings containing specific characters.

## Affected packages

- `django >= 5.0, < 5.0.7`
- `django >= 4.2, < 4.2.14`

## Remediation

Upgrade to a patched release:

- `django 5.0.7`
- `django 4.2.14`
