CVE-2025-6998 Details
Description
ReDoS in strip_whitespaces() function in cps/string_helper.py in Calibre Web and Autocaliweb allows unauthenticated remote attackers to cause denial of service via specially crafted username parameter that triggers catastrophic backtracking during login. This issue affects Calibre Web: 0.6.24 (Nicolette); Autocaliweb: from 0.7.0 before 0.7.1.
A regular expression denial-of-service (ReDoS) vulnerability has been identified in the strip_whitespaces() function of the string_helper.py file, within both Calibre Web version 0.6.24 (Nicolette) and Autocaliweb version 0.7.0. This vulnerability allows unauthenticated remote attackers to cause a denial of service by sending specially crafted usernames that trigger catastrophic backtracking during the login process. The issue is exacerbated by the fact that the username parameter is also used in the application's rate-limiting logic, making it possible to exploit the vulnerability without authentication.
Users of Autocaliweb can update to version 0.7.1, which patches this vulnerability. For Calibre Web, there is currently no patch available.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 24, 2025CISA-ADP
Assessed Jul 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://fluidattacks.com/advisories/megadeth | [email protected] | AdvisoryExploitRemedy |
| https://github.com/gelbphoenix/autocaliweb | [email protected] | ProductSource CodeVendor |
| https://github.com/janeczku/calibre-web | [email protected] | ProductSource CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| janeczku Calibre Web | 0.6.24 (semver) |
CPE
Remediation
| |
| gelbphoenix Autocaliweb | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 25, 2025 | CVE Modified | [email protected] |
| Jul 25, 2025 | CVE Modified | [email protected] |
| Jul 24, 2025 | New CVE Received | [email protected] |
Volerion