Calibre Web
Calibre Web 0.6.24 & Autocaliweb 0.7.0 - ReDoS
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 0.6.24
- >= 0.7.0, < 0.7.1
Fixed in 0.7.1
Mitigation
Upgrade Autocaliweb to 0.7.1 or later.
Timeline
Days relative to CVE publicationFirst public PoC 2.3 days after publication; not in CISA KEV. First PoC: mind2hex/CVE-2025-6998-CalibreWeb-0.6.24-ReDoS (created 27 Jul 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mind2hex/CVE-2025-6998-CalibreWeb-0.6.24-ReDoS | 27 Jul 2025 +2.3 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /login
- Body markers
csrf_token=username=\x00password=EAT THISinapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 1 repo: mind2hex/CVE-2025-6998-CalibreWeb-0.6.24-ReDoS
- Evidence
- mind2hex/CVE-2025-6998-CalibreWeb-0.6.24-ReDoS/exploit.py:163
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/login(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-6998 Calibre Web Calibre Web exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/login"; http.request_body; content:"csrf_token="; http.request_body; content:"username=|5c|x00"; http.request_body; content:"password=EAT THIS"; reference:url,poc.griffinguard.io/cve/CVE-2025-6998; classtype:web-application-attack; sid:9215676; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Calibre Web Calibre Web exploit attempt (CVE-2025-6998)
id: gg-pocmon-cve-2025-6998-9215676
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-6998. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-6998
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.6998