CVE-2024-7009 Calibre SQL Injection
Attackers with search permissions can inject SQL into the SQLite database via unsanitized input in Calibre.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-7009?
CVE-2024-7009 is a medium-severity SQL injection vulnerability in Calibre, published on 6 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Unsanitized user-input in Calibre <= 7.15.0 allow users with permissions to perform full-text searches to achieve SQL injection on the SQLite database.
Weakness: CWE-89
Which versions are affected by CVE-2024-7009?
It affects 1 product.
Products include Calibre-Ebook Calibre.
How do I fix CVE-2024-7009?
Apply the vendor's patch.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-7009 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7009 exists.
Other vulnerabilities in Calibre
- CVE-2011-4124 Command injection in Calibre
- CVE-2011-4125 Privilege escalation in Calibre
- CVE-2026-26064 calibre: Path Traversal Vulnerability Enables Arbitrary File Write and Remote Code Execution
- CVE-2026-26065 calibre: Path Traversal can Lead to Arbitrary File Write and Potential Code Execution
- CVE-2026-25635 calibre has a Path Traversal Leading to Arbitrary File Write and Potential Code Execution
Sources
Also known as DEBIAN-CVE-2024-7009, GHSA-mc4x-r58f-6h93, UBUNTU-CVE-2024-7009.