CVE-2024-25885: n/a
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.
AI Analysis
Technical Summary
CVE-2024-25885 is a vulnerability in xhtml2pdf version 0.2.13 where the getcolor function in utils.py improperly handles input to a regular expression, enabling an attacker to cause a Regular expression Denial of Service (ReDoS) by providing a specially crafted string. This results in excessive CPU consumption and potential service unavailability. The vulnerability is remotely exploitable without authentication and requires no user interaction.
Potential Impact
The vulnerability impacts availability by enabling an attacker to cause a denial of service condition through resource exhaustion. There is no impact on confidentiality or integrity. The attack vector is network-based, requiring no privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available for xhtml2pdf version 0.2.13. Users should monitor vendor communications for updates and consider applying any forthcoming patches or mitigations.
CVE-2024-25885: n/a
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-25885 is a vulnerability in xhtml2pdf version 0.2.13 where the getcolor function in utils.py improperly handles input to a regular expression, enabling an attacker to cause a Regular expression Denial of Service (ReDoS) by providing a specially crafted string. This results in excessive CPU consumption and potential service unavailability. The vulnerability is remotely exploitable without authentication and requires no user interaction.
Potential Impact
The vulnerability impacts availability by enabling an attacker to cause a denial of service condition through resource exhaustion. There is no impact on confidentiality or integrity. The attack vector is network-based, requiring no privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available for xhtml2pdf version 0.2.13. Users should monitor vendor communications for updates and consider applying any forthcoming patches or mitigations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mitre
- Date Reserved
- 2024-02-12T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6d73b7ef31ef0b572405
Added to database: 02/25/2026, 21:45:23 UTC
Last enriched: 07/05/2026, 21:12:40 UTC
Last updated: 09/10/2026, 19:24:53 UTC
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.