{"api_version":"1","generated_at":"2026-07-24T20:04:33+00:00","cve":"CVE-2021-20308","urls":{"html":"https://cve.report/CVE-2021-20308","api":"https://cve.report/api/cve/CVE-2021-20308.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20308","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20308"},"summary":{"title":"CVE-2021-20308","description":"Integer overflow in the htmldoc 1.9.11 and before may allow attackers to execute arbitrary code and cause a denial of service that is similar to CVE-2017-9181.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-04-05 22:15:00","updated_at":"2021-12-03 18:23:00"},"problem_types":["CWE-190"],"metrics":[],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/423","name":"https://github.com/michaelrsweet/htmldoc/issues/423","refsource":"MISC","tags":[],"title":"Bug: buffer-overflow caused by integer-overflow in image_load_gif() · Issue #423 · michaelrsweet/htmldoc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00000.html","name":"[debian-lts-announce] 20210701 [SECURITY] [DLA 2700-1] htmldoc security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2700-1] htmldoc security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1946289","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1946289","refsource":"MISC","tags":[],"title":"1946289 – (CVE-2021-20308) CVE-2021-20308 htmldoc: Integer overflow in image_load_gif()","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20308","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20308","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20308","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20308","vulnerable":"1","versionEndIncluding":"1.9.11","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"htmldoc_project","cpe5":"htmldoc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20308","qid":"178690","title":"Debian Security Update for htmldoc (DLA 2700-1)"},{"cve":"CVE-2021-20308","qid":"180047","title":"Debian Security Update for htmldoc (CVE-2021-20308)"},{"cve":"CVE-2021-20308","qid":"750640","title":"OpenSUSE Security Update for htmldoc (openSUSE-SU-2021:0882-1)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-20308","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Integer overflow in the htmldoc 1.9.11 and before may allow attackers to execute arbitrary code and cause a denial of service that is similar to CVE-2017-9181."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-190","cweId":"CWE-190"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"htmldoc","version":{"version_data":[{"version_affected":"=","version_value":"htmldoc 1.9.11 and older"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/423","refsource":"MISC","name":"https://github.com/michaelrsweet/htmldoc/issues/423"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1946289","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1946289"},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00000.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2021/07/msg00000.html"}]}},"nvd":{"publishedDate":"2021-04-05 22:15:00","lastModifiedDate":"2021-12-03 18:23:00","problem_types":["CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:htmldoc_project:htmldoc:*:*:*:*:*:*:*:*","versionEndIncluding":"1.9.11","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20308","Ordinal":"194349","Title":"CVE-2021-20308","CVE":"CVE-2021-20308","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20308","Ordinal":"1","NoteData":"Integer overflow in the htmldoc 1.9.11 and before may allow attackers to execute arbitrary code and cause a denial of service that is similar to CVE-2017-9181.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"20308","Ordinal":"2","NoteData":"2021-04-05","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"20308","Ordinal":"3","NoteData":"2021-07-01","Type":"Other","Title":"Modified"}]}}}