CVE
CVE-2024-25885
published high CVSS 3.1 · 7.5xhtml2pdf: ReDoS via getcolor function in utils.py
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| xhtml2pdf | — | xhtml2pdf0.2.13 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-xhtml2pdfaarch64 | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-xhtml2pdfppc64le | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-xhtml2pdfs390x | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-xhtml2pdfx86_64 | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-xhtml2pdfaarch64 | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-xhtml2pdfppc64le | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-xhtml2pdfs390x | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-xhtml2pdfx86_64 | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-xhtml2pdfaarch64 | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-xhtml2pdfppc64le | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-xhtml2pdfs390x | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-xhtml2pdfx86_64 | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-xhtml2pdfaarch64 | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-xhtml2pdfppc64le | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-xhtml2pdfs390x | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-xhtml2pdfx86_64 | Advisory build | 0.2.16-2.1 | OPENSUSE-SU-2024:14601-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| xhtml2pdf | xhtml2pdf | 0.2.13 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
1Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6f26de65d558d218d6a2fce1095f546d443318174c6b559aa5f23e8c7e3e1415
- Ingested
- 23 Sep 2026, 08:20:20 UTC
- Source record
- Official CVE record