{"schemaVersion":3,"id":"CVE-2019-19630","aliases":["MGASA-2019-0403","UBUNTU-CVE-2019-19630","USN-4696-1","DEBIAN-CVE-2019-19630","DLA-2026-1"],"status":"published","duplicateOf":null,"title":null,"description":"HTMLDOC 1.9.7 allows a stack-based buffer overflow in the hd_strlcpy() function in string.c (when called from render_contents in ps-pdf.cxx) via a crafted HTML document.","dates":{"published":"2019-12-08T01:57:28.000Z","modified":"2024-08-05T02:25:12.075Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01135,"percentile":0.66228,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.01135},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01135,"percentile":0.66228}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01135,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01135,"percentile":0.66228}]},"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_MICHAELRSWEET_HTMLDOC","name":"Htmldoc","source":"github","url":"https://github.com/michaelrsweet/htmldoc/issues/370","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"htmldoc","name":"htmldoc","label":"htmldoc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/htmldoc","purlType":"deb","versions":[{"text":"< 1.9.7-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.8.27-8+deb8u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.7-1 | < 1.8.27-8+deb8u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"htmldoc","name":"htmldoc","label":"htmldoc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/htmldoc","purlType":"deb","versions":[{"text":"< 1.8.27-8ubuntu1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.8.27-8ubuntu1.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.9.2-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.27-8ubuntu1+esm1 | < 1.8.27-8ubuntu1.1 | < 1.9.2-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"30","noFixRecorded":false,"fixedIn":null},{"text":"31","noFixRecorded":false,"fixedIn":null}],"versionsText":"30 | 31","eol":{"isEol":true,"eolDate":"2020-05-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"30","label":"30","eolFrom":"2020-05-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"htmldoc_project","product":"htmldoc","name":"htmldoc","label":"htmldoc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.9.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.9.7","eol":null,"hubHref":"/vendor/htmldoc_project/htmldoc"},{"vendor":"mageia","product":"htmldoc","name":"htmldoc","label":"htmldoc","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/htmldoc","purlType":"rpm","versions":[{"text":"< 1.9.3-2.1.mga7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.3-2.1.mga7","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/370","label":"github.com/michaelrsweet/htmldoc/issues/370","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00008.html","label":"lists.debian.org/debian-lts-announce/2019/12/msg00008.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FEUT3LG6DWTICKXYAN4SWOQWWCGHPLDJ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MZLVUBON5AYWYTFTJ4HBSHGTQTY7KBN/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00000.html","label":"lists.debian.org/debian-lts-announce/2021/07/msg00000.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0403.html","label":"advisories.mageia.org/MGASA-2019-0403.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=25876","label":"bugs.mageia.org/show_bug.cgi?id=25876","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.debian.org/lts/security/2019/dla-2026","label":"www.debian.org/lts/security/2019/dla-2026","hostname":"www.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2019-19630","label":"ubuntu.com/security/CVE-2019-19630","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/michaelrsweet/htmldoc/commit/8a129c520e90fc967351f3e165f967128a88f09c","label":"github.com/michaelrsweet/htmldoc/commit/8a129c520e90fc967351f3e165f967128a88f09c","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4696-1","label":"ubuntu.com/security/notices/USN-4696-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19630","label":"www.cve.org/CVERecord?id=CVE-2019-19630","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-19630","label":"security-tracker.debian.org/tracker/CVE-2019-19630","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2700-1","SUSE-SU-2022:14898-1"],"duplicates":[],"related":["SUSE-SU-2022:14898-1"]},"timeline":[{"kind":"published","date":"2019-12-08T01:57:28.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:25:12.075Z","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-22T14:49:39.808Z","stale":false,"partial":false}}