{"answers":{"affected":"3 open source packages ship an affected version, including calibreweb.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6998 exists.","fix":"No fix has been published for CVE-2025-6998 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-6998 is a high-severity denial of service vulnerability in Autocaliweb, published on 24 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-6998 and fix it if it is affected.\n\nWhat it is: CVE-2025-6998 is a high-severity denial of service vulnerability in Autocaliweb, published on 24 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6998 exists.\n\nAffected packages and fixed versions:\n- calibreweb (PyPI): affected all versions up to 0.6.24; no fix listed\n- calibreweb (PyPI): affected all versions up to 0.6.24; no fix listed\n- calibreweb (PyPI): affected all versions up to 0.6.24; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-6998/ (Markdown: https://insights.sbomify.com/CVE-2025-6998/index.md)","id":"CVE-2025-6998","markdown":"https://insights.sbomify.com/CVE-2025-6998/index.md","name":"CVE-2025-6998","record":{"aliases":["GHSA-2g7m-ph9x-7q7m","PYSEC-2026-1228"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Calibre Web application","requires_auth":"none","summary":"Unauthenticated attackers can cause denial of service in Calibre Web and Autocaliweb via a specially crafted username during login.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Fluid Attacks","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2025-07-27","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-27T02:39:52Z","kind":"github_poc","ref":"https://github.com/mind2hex/CVE-2025-6998-CalibreWeb-0.6.24-ReDoS","stars":0,"title":"Exploit for the redos for CalibreWeb v0.6.24"}],"tier":"weaponised"},"has_fix":false,"headline":"Calibre Web 0.6.24 \u0026 Autocaliweb 0.7.0 - ReDoS","id":"CVE-2025-6998","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"WatchGuard Firebox Authentication Portal Request Smuggling Vulnerability","id":"CVE-2025-6999"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.6.24"],"package":"calibreweb","purl":null,"source":"GHSA-2g7m-ph9x-7q7m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.6.24"],"package":"calibreweb","purl":"pkg:pypi/calibreweb","source":"GHSA-2g7m-ph9x-7q7m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.6.24"],"package":"calibreweb","purl":"pkg:pypi/calibreweb","source":"PYSEC-2026-1228"}],"prev":{"headline":"Cross-site scripting in ThemeREX Addons","id":"CVE-2025-6997"},"products":["Autocaliweb","Calibre Web"],"published":"2025-07-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-25","vendors":["Autocaliweb","Calibre Web"]},"summary":"Unauthenticated attackers can cause denial of service in Calibre Web and Autocaliweb via a specially crafted username during login.","url":"https://insights.sbomify.com/CVE-2025-6998/"}