CVE-2025-6998
Python vulnerability analysis and mitigation

Overview

A Regular Expression Denial of Service (ReDoS) vulnerability has been identified in the stripwhitespaces() function within cps/stringhelper.py of Calibre Web version 0.6.24 (Nicolette) and Autocaliweb versions 0.7.0 to 0.7.1. The vulnerability, tracked as CVE-2025-6998, allows unauthenticated remote attackers to cause a denial of service condition through specially crafted username parameters during login attempts (Fluid Attacks).

Technical details

The vulnerability exists in the strip_whitespaces() function which uses a regular expression that is vulnerable to catastrophic backtracking when processing specially crafted input. The function is applied directly to the username parameter during login and as part of the rate-limiting logic via @limiter.limit(), making it exploitable without authentication. The vulnerability has been assigned a CVSS v4.0 base score of 8.7 (High) with the vector string 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, indicating it is network-accessible and requires no privileges to exploit (Fluid Attacks).

Impact

When successfully exploited, the vulnerability causes the backend server to hang for a significant amount of time, resulting in a denial of service condition that affects the application's availability. The attack can be executed by unauthenticated remote attackers, potentially disrupting service for legitimate users (Fluid Attacks).

Mitigation and workarounds

For Autocaliweb users, the vulnerability has been patched in version 0.7.1. However, there is currently no patch available for the Calibre Web project version 0.6.24. Users of Calibre Web should monitor for updates and consider implementing additional security controls at the network level to protect against unauthenticated access to the login endpoint (Fluid Attacks).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 09, 2025
CVE-2025-66645HIGH7.5
  • PythonPython
  • nicegui
NoYesDec 09, 2025
GHSA-9rwj-6rc7-p77cHIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 10, 2025
CVE-2025-67502MEDIUM5.4
  • PythonPython
  • taguette
NoYesDec 10, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management