PoC Monitor
← All CVEs
CVE-2025-6998published 24 Jul 2025 19:39 UTCData: JSON · API

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.

First public PoC 2.3 daysafter publication · 27 Jul 2025
Public PoCs11 on GitHub
CVSS8.7high · scored by CNA · CWE-1333
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Calibre Web Calibre Web
  • 0.6.24
Autocaliweb Autocaliweb
  • >= 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 publication
-2t=0+2+4+6+8CVE published24 Jul 2025 · t = 0First public PoC27 Jul 2025 · t+2.3d

First 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
RepositoryCreatedStarsAssessment
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 repo

POST /login

Body markers
csrf_token= username=\x00 password=EAT THIS in application/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.

POST /login
(?i)^/login(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /login
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.

POST /login
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