{"id":"CVE-2025-6998","details":"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.","aliases":["GHSA-2g7m-ph9x-7q7m"],"modified":"2026-04-02T13:05:13.262091Z","published":"2025-07-24T20:15:27.013Z","references":[{"type":"ADVISORY","url":"https://fluidattacks.com/advisories/megadeth"},{"type":"PACKAGE","url":"https://github.com/gelbphoenix/autocaliweb"},{"type":"PACKAGE","url":"https://github.com/janeczku/calibre-web"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gelbphoenix/autocaliweb","events":[{"introduced":"35dece44cbf4ca715be07f4d62b95f0391491ac0"},{"fixed":"84477b55caff47e54d93384015fa694b6eb9b5be"}],"database_specific":{"versions":[{"introduced":"0.7.0"},{"fixed":"0.7.1"}]}}],"versions":["v0.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6998.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}