CVE catalog

CVE-2024-25885

xhtml2pdf: CVE-2024-25885

[CVE catalog]

Severity
Medium · CVSS 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.64% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianxhtml2pdfsid0.2.17+dfsg-1fixed
Debianxhtml2pdfforky0.2.17+dfsg-1fixed
Debianxhtml2pdftrixie0.2.17+dfsg-1fixed
Debianxhtml2pdfbookworm0.2.5-3vulnerable
Opensusepython-xhtml2pdftumbleweed0.2.16-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianxhtml2pdfsourcesid0.2.16+dfsg-1not yet assignedNot reported[1084986]
Debianxhtml2pdfsourceforky0.2.16+dfsg-1not yet assignedNot reported[1084986]
Debianxhtml2pdfsourcetrixie0.2.16+dfsg-1not yet assignedNot reported[1084986]
Debianxhtml2pdfsourcebookworm(unfixed)not yet assignedNot reported[1084986]
Opensusepython-xhtml2pdfrpmtumbleweed0.2.16-2.1Not reportedOPENSUSE-SU-2024:14601-1Not reported

[Debian bug #1084986]

Notes

[bookworm] xhtml2pdf: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [xhtml2pdf]

    Details (2)
    • 0.2.5-3 · all · bookworm

      Affected

      dsa · xhtml2pdf · debian · bookworm; dsa · xhtml2pdf · debian · 12

    • 0.2.5-3 · all · bookworm

      Affected

      dsa · xhtml2pdf · debian · bookworm; dsa · xhtml2pdf · debian · 12

[openSUSE Tumbleweed]

  • Source package: [python-xhtml2pdf]

    Details (1)
    • 0.2.17-2.4 · noarch · tumbleweed

      Unknown · Fixed: 0.2.16-2.1

      Version impact unknown

      dsa · python-xhtml2pdf · opensuse · tumbleweed

  • Source package: [python-xhtml2pdf]

    Details (1)
    • 0.2.17-2.4 · noarch · tumbleweed

      Unknown · Fixed: 0.2.16-2.1

      Version impact unknown

      dsa · python-xhtml2pdf · opensuse · tumbleweed

[Debian 13 (Trixie)]

  • Source package: [xhtml2pdf]

    Details (2)
    • 0.2.17+dfsg-1 · all · trixie

      Fixed · Fixed: 0.2.16+dfsg-1

      dsa · xhtml2pdf · debian · 13

    • 0.2.17+dfsg-1 · all · trixie

      Fixed · Fixed: 0.2.16+dfsg-1

      dsa · xhtml2pdf · debian · 13

Observed:

References