ADVISORIES

Vulnerability

CVE-2024-27351

In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.

31 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2024-27351

    In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular…

    CVE-2024-27351 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2024-27351
    CVE-2024-27351 Alpine Updated 18 November 2026
  • CGA-26mw-xf9q-5jr4
    CVE-2024-27351 ChainguardWolfi Updated 5 November 2026
  • CGA-qh9p-8rwp-fc7f
    CVE-2024-27351 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-27351

    In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular…

    CVE-2024-27351 Debian Updated 2 November 2026
  • DLA-4210-1

    python-django - security update

    CVE-2023-41164CVE-2023-43665CVE-2024-24680CVE-2024-27351 Debian Updated 20 November 2026
  • DSA-6136-1

    python-django - security update

    CVE-2019-14232CVE-2023-41164CVE-2023-43665CVE-2024-24680 Debian Updated 20 November 2026
  • GHSA-vm8q-m57g-pff3

    Regular expression denial-of-service in Django

    Moderate CVE-2024-27351 PyPI Updated 10 September 2026
  • OESA-2024-1254

    python-django security update

    High CVE-2024-27351 openEuler Updated 18 August 2026
  • PYSEC-2024-47

    In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular…

    CVE-2024-27351 PyPI Updated 10 June 2026
  • RHSA-2024:1640

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2023-39326CVE-2023-41040CVE-2023-45857CVE-2023-46137 Red Hat Updated 24 November 2026
  • RHSA-2024:1878

    Red Hat Security Advisory: RHUI 4.8 Release - Security Updates, Bug Fixes, and Enhancements

    CVE-2023-36053CVE-2023-37276CVE-2023-41164CVE-2023-43665 Red Hat Updated 24 November 2026
  • RHSA-2024:3781

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2023-45288CVE-2023-45290CVE-2023-49083CVE-2023-50447 Red Hat Updated 24 November 2026
  • RHSA-2024:5662

    Red Hat Security Advisory: Satellite 6.15.3 Security Update

    CVE-2024-24680CVE-2024-27306CVE-2024-27351CVE-2024-28219 Red Hat Updated 24 November 2026
  • RHSA-2025:4187

    Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (python-django) security update

    CVE-2024-27351 Red Hat Updated 3 June 2026
  • SUSE-SU-2024:0874-1

    Security update for python-Django1

    CVE-2024-24680CVE-2024-27351 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0875-1

    Security update for python-Django

    CVE-2024-24680CVE-2024-27351 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0902-1

    Security update for python-Django

    CVE-2024-27351 openSUSE Updated 4 February 2026
  • SUSE-SU-2024:1140-1

    Security update for python-Django

    CVE-2024-27351 SUSE Updated 4 February 2026
  • SUSE-SU-2024:1141-1

    Security update for python-Django

    CVE-2024-27351 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2024-27351

    In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular…

    CVE-2024-27351 Ubuntu Updated 1 October 2026
  • USN-6674-1

    python-django vulnerability

    CVE-2024-27351 Ubuntu Updated 27 April 2026
  • USN-6674-2

    python-django vulnerability

    CVE-2024-27351 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:0077-1

    Security update for python-Django

    CVE-2024-27351 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:0080-1

    Security update for python-Django1

    CVE-2024-27351 SUSEopenSUSE Updated 7 May 2025
  • openSUSE-SU-2024:13749-1

    python310-Django-4.2.11-1.1 on GA media

    CVE-2024-27351 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14208-1

    python310-Django4-4.2.14-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10005-1

    python312-Django6-6.0-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:11235-1

    python313-Django4-4.2.30-4.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 10 July 2026
  • openSUSE-SU-2026:11248-1

    python313-Django-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 11 July 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References