# CVE-2021-44686: calibre before 5.32.0 contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service) in htmlpreprocessrul…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.21%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-12-06T23:41:12.000Z
- Modified: 2026-06-17T04:12:41.520Z
- Weaknesses: CWE-400
- Assigned by: mitre

## Description

calibre before 5.32.0 contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service) in html_preprocess_rules in ebooks/conversion/preprocess.py.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- calibre-ebook calibre: before 5.32.0
- fedoraproject fedora: 34

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugs.launchpad.net/calibre/+bug/1951979> (exploit, issue-tracking, vendor-advisory)
- <https://github.com/dwisiswant0/advisory/issues/18> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/kovidgoyal/calibre/compare/v5.31.1...v5.32.0> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W7QKFPYJ23KG6WJ5NIYAM4N2NWZCLQGL/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00005.html>

## Sources

- CVE List: [CVE-2021-44686](https://www.cve.org/CVERecord?id=CVE-2021-44686), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2021-44686](https://nvd.nist.gov/vuln/detail/CVE-2021-44686), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-44686 · Whole record: https://cve.day/CVE-2021-44686.json · Rebuilt by cve.day 2026-11-25T22:24:36.158Z
