CVE-2019-19630
HTMLDOC 1.9.7 allows a stack-based buffer overflow in the hd_strlcpy() function in string.c (when...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2019-19630- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2019-19630- Updated
- 2026-11-02
EUVDEUVD-2019-9241 No score
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.
- Record
EUVD-2019-9241- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-45vc-mrxr-qgr2
7.8
HTMLDOC 1.9.7 allows a stack-based buffer overflow in the hd_strlcpy() function in string.c (when...
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.
- Record
GHSA-45vc-mrxr-qgr2- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2019-19630- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-19630
7.8
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.
- Record
DEBIAN-CVE-2019-19630- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2019-19630
7.8
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.
- Record
UBUNTU-CVE-2019-19630- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0403 No score
Updated htmldoc packages fix security vulnerability
Updated htmldoc packages fix security vulnerability:
In HTMLDOC, there was a one-byte underflow in htmldoc/ps-pdf.cxx caused by a floating point math difference between GCC and Clang (CVE-2019-19630).
- Record
MGASA-2019-0403- Updated
- 2026-11-02
OSVSUSE-SU-2022:14898-1 No score
Security update for htmldoc
This update for htmldoc fixes the following issues:
- CVE-2019-19630: Fixed stack-based buffer overflow in the hd_strlcpy() function in string.c via a crafted HTML document (bsc#1158802).
- CVE-2021-20308: Fixed integer overflow in image_load_gif() (bsc#1184424).
- CVE-2022-0534: Fixed stack out-of-bounds read in gif_get_code() when opening a malicious GIF file results in a segmentation fault (bsc#1195758).
- Record
SUSE-SU-2022:14898-1- Updated
- 2026-11-02
OSVUSN-4696-1 No score
htmldoc vulnerability
It was discovered that HTMLDOC incorrectly handled certain HTML files. An attacker could possibly use this issue to cause a denial of service.
- Record
USN-4696-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
htmldocDebian:12 |
before 1.9.7-1 | 1.9.7-1 |
htmldocDebian:13 |
before 1.9.7-1 | 1.9.7-1 |
htmldocDebian:14 |
before 1.9.7-1 | 1.9.7-1 |
htmldocDebian:8 |
before 1.8.27-8+deb8u1, plus listed versions 1.8.27-8 |
1.8.27-8+deb8u1 |
htmldocDebian:9 From an advisory covering 10 CVEs |
before 1.8.27-8+deb9u1, plus listed versions 1.8.27-8 |
1.8.27-8+deb9u1 |
htmldocMageia:7 |
before 1.9.3-2.1.mga7 | 1.9.3-2.1.mga7 |
htmldocSUSE:Subscription Management Tool 11 SP3 From an advisory covering 3 CVEs |
before 1.8.27-170.4.9.1 | 1.8.27-170.4.9.1 |
htmldocUbuntu:Pro:14.04:LTS |
before 1.8.27-8ubuntu1+esm1, plus listed versions 1.8.27-8ubuntu1 |
1.8.27-8ubuntu1+esm1 |
htmldocUbuntu:16.04:LTS |
before 1.8.27-8ubuntu1.1, plus listed versions 1.8.27-8ubuntu1 |
1.8.27-8ubuntu1.1 |
htmldocUbuntu:18.04:LTS |
before 1.9.2-1ubuntu0.1, plus listed versions 1.8.27-8ubuntu21.8.27-8ubuntu31.9.2-1 |
1.9.2-1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-19630 is a high vulnerability (CVSS 7.8) in Htmldoc Project Htmldoc, published December 8, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.14%, the 66th percentile. Fixed in htmldoc 1.9.7-1.
References
github.com/michaelrsweet/htmldoc/issues/370
lists.debian.org/debian-lts-announce/2019/12/msg00008.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FEUT3LG6DWTICKXYAN4SWOQWWCGHPLDJ
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MZLVUBON5AYWYTFTJ4HBSHGTQTY7KBN
lists.debian.org/debian-lts-announce/2021/07/msg00000.html
nvd.nist.gov/vuln/detail/CVE-2019-19630
Show 18 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/7MZLVUBON5AYWYTFTJ4HBSHGTQTY7KBN
lists.fedoraproject.org/archives/list/[email protected]/message/FEUT3LG6DWTICKXYAN4SWOQWWCGHPLDJ
github.com/advisories/GHSA-45vc-mrxr-qgr2
security-tracker.debian.org/tracker/CVE-2019-19630
advisories.mageia.org/MGASA-2019-0403.html
bugs.mageia.org/show_bug.cgi?id=25876
debian.org/lts/security/2019/dla-2026
suse.com/support/update/announcement/2022/suse-su-202214898-1
bugzilla.suse.com/1158802
bugzilla.suse.com/1184424
bugzilla.suse.com/1195758
suse.com/security/cve/CVE-2019-19630
suse.com/security/cve/CVE-2021-20308
suse.com/security/cve/CVE-2022-0534
ubuntu.com/security/CVE-2019-19630
github.com/michaelrsweet/htmldoc/commit/8a129c520e90fc967351f3e165f967128a88f09c
ubuntu.com/security/notices/USN-4696-1
cve.org/CVERecord?id=CVE-2019-19630