{"schemaVersion":3,"id":"CVE-2021-44686","aliases":["MGASA-2021-0593","UBUNTU-CVE-2021-44686","DEBIAN-CVE-2021-44686"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-12-06T23:41:12.000Z","modified":"2025-11-04T16:09:27.961Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.05214,"percentile":0.92425,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.22799999999999973,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.04986},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05214,"percentile":0.92425}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04986,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05358,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05214,"percentile":0.92425}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_DWISISWANT0_ADVISORY","name":"Advisory","source":"github","url":"https://github.com/dwisiswant0/advisory/issues/5","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_39E523B8BFF04E87","name":"Exploit Reference (bugs.launchpad.net)","source":"reference","url":"https://bugs.launchpad.net/calibre/+bug/1951979","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"calibre-ebook","product":"calibre","name":"calibre","label":"calibre","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.32.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.32.0","eol":null,"hubHref":"/vendor/calibre-ebook/calibre"},{"vendor":"debian","product":"calibre","name":"calibre","label":"calibre","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/calibre","purlType":"deb","versions":[{"text":"< 5.33.0+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.33.0+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"calibre","name":"calibre","label":"calibre","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/calibre","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null}],"versionsText":"34","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"mageia","product":"calibre","name":"calibre","label":"calibre","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/calibre","purlType":"rpm","versions":[{"text":"< 4.23.0-3.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.23.0-3.1.mga8","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugs.launchpad.net/calibre/+bug/1951979","label":"bugs.launchpad.net/calibre/+bug/1951979","hostname":"bugs.launchpad.net","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/dwisiswant0/advisory/issues/18","label":"github.com/dwisiswant0/advisory/issues/18","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/kovidgoyal/calibre/compare/v5.31.1...v5.32.0","label":"github.com/kovidgoyal/calibre/compare/v5.31.1...v5.32.0","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W7QKFPYJ23KG6WJ5NIYAM4N2NWZCLQGL/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00005.html","label":"lists.debian.org/debian-lts-announce/2024/09/msg00005.html","hostname":"lists.debian.org","tags":[]},{"url":"https://advisories.mageia.org/MGASA-2021-0593.html","label":"advisories.mageia.org/MGASA-2021-0593.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29803","label":"bugs.mageia.org/show_bug.cgi?id=29803","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/W7QKFPYJ23KG6WJ5NIYAM4N2NWZCLQGL/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-44686","label":"ubuntu.com/security/CVE-2021-44686","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-44686","label":"www.cve.org/CVERecord?id=CVE-2021-44686","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-44686","label":"security-tracker.debian.org/tracker/CVE-2021-44686","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3862-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-12-06T23:41:12.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T16:09:27.961Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:59:11.450Z","stale":false,"partial":false}}