ADVISORIES

Vulnerability

CVE-2024-25885

An issue in the getcolor function in utils.py of xhtml2pdf v0.2.13 allows attackers to cause a Regular expression Denial of Service (ReDOS) via supplying a crafted string.

5 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • DEBIAN-CVE-2024-25885

    An issue in the getcolor function in utils.py of xhtml2pdf v0.2.13 allows attackers to cause a Regular expression Denial of Service (ReDOS) via supplying a crafted string.

    CVE-2024-25885 Debian Updated 2 November 2026
  • GHSA-jj5c-hhrg-vv5h

    xhtml2pdf Denial of Service via crafted string

    Moderate CVE-2024-25885 PyPI Updated 7 July 2026
  • PYSEC-2026-2056

    xhtml2pdf Denial of Service via crafted string

    CVE-2024-25885 PyPI Updated 7 July 2026
  • UBUNTU-CVE-2024-25885

    An issue in the getcolor function in utils.py of xhtml2pdf v0.2.13 allows attackers to cause a Regular expression Denial of Service (ReDOS) via supplying a crafted string.

    CVE-2024-25885 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2024:14601-1

    python310-xhtml2pdf-0.2.16-2.1 on GA media

    CVE-2024-25885 openSUSE Updated 4 February 2026

References