CVE-2025-6998: Calibre Web and Autocaliweb have a ReDoS vulnerability
ReDoS in stripwhitespaces() function in cps/stringhelper.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.
Published Jul 24, 2025 · Updated Jul 28, 2025
Affected packages
calibreweb
- Ecosystem
- PyPI
- Affected
- <= 0.6.24
- Fixed in
- No patched version yet
- Check
pip show calibreweb
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to gelbphoenix.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2025-65858
Calibre-Web Has a Stored Cross-Site Scripting (XSS) Vulnerability via the 'username' Field During User Creation
low1.9No fixDec 2, 2025CVE-2025-7404
Calibre Web and Autocaliweb have OS Command Injection vulnerability
medium5.9No fixJul 24, 2025CVE-2021-3986
Generation of Error Message Containing Sensitive Information in janeczku/calibre-web
medium4.3Nov 15, 2024CVE-2021-3987
Improper Access Control in janeczku/calibre-web
medium5.4Nov 15, 2024CVE-2021-3988
Cross-site Scripting (XSS) - DOM in janeczku/calibre-web
medium6.1Nov 15, 2024CVE-2024-39123
Calibre-Web Cross Site Scripting (XSS)
medium5.4No fixJul 19, 2024
