{"id":"UBUNTU-CVE-2021-23180","details":"A flaw was found in htmldoc in v1.9.12 and before. Null pointer dereference in file_extension(),in file.c may lead to execute arbitrary code and denial of service.","modified":"2026-02-04T04:37:14.201958Z","published":"2021-06-03T00:00:00Z","related":["USN-5198-1"],"upstream":["CVE-2021-23180"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23180"},{"type":"REPORT","url":"https://github.com/michaelrsweet/htmldoc/issues/418"},{"type":"REPORT","url":"https://github.com/michaelrsweet/htmldoc/commit/19c582fb32eac74b57e155cffbb529377a9e751a"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5198-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23180"}],"affected":[{"package":{"name":"htmldoc","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/htmldoc@1.8.27-8ubuntu1+esm4?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.27-8ubuntu1","1.8.27-8ubuntu1+esm1","1.8.27-8ubuntu1+esm2","1.8.27-8ubuntu1+esm3","1.8.27-8ubuntu1+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"htmldoc","binary_version":"1.8.27-8ubuntu1+esm4"},{"binary_name":"htmldoc-common","binary_version":"1.8.27-8ubuntu1+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23180.json"}},{"package":{"name":"htmldoc","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/htmldoc@1.8.27-8ubuntu1.1+esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.27-8ubuntu1","1.8.27-8ubuntu1.1","1.8.27-8ubuntu1.1+esm1","1.8.27-8ubuntu1.1+esm2","1.8.27-8ubuntu1.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"htmldoc","binary_version":"1.8.27-8ubuntu1.1+esm3"},{"binary_name":"htmldoc-common","binary_version":"1.8.27-8ubuntu1.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23180.json"}},{"package":{"name":"htmldoc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/htmldoc@1.9.7-1ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.7-1ubuntu0.2"}]}],"versions":["1.9.3-1","1.9.7-1","1.9.7-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"htmldoc","binary_version":"1.9.7-1ubuntu0.2"},{"binary_name":"htmldoc-common","binary_version":"1.9.7-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23180.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}