Every CVE Search/ Get API key

CVE-2019-19630

HTMLDOC 1.9.7 allows a stack-based buffer overflow in the hd_strlcpy() function in string.c (when...

7.8 HighFix available

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

1.14%Up 0.1 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
htmldoc
Debian:12
before 1.9.7-1
1.9.7-1
htmldoc
Debian:13
before 1.9.7-1
1.9.7-1
htmldoc
Debian:14
before 1.9.7-1
1.9.7-1
htmldoc
Debian:8
before 1.8.27-8+deb8u1, plus listed versions
1.8.27-8
1.8.27-8+deb8u1
htmldoc
Debian: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
htmldoc
Mageia:7
before 1.9.3-2.1.mga7
1.9.3-2.1.mga7
htmldoc
SUSE: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
htmldoc
Ubuntu:Pro:14.04:LTS
before 1.8.27-8ubuntu1+esm1, plus listed versions
1.8.27-8ubuntu1
1.8.27-8ubuntu1+esm1
htmldoc
Ubuntu:16.04:LTS
before 1.8.27-8ubuntu1.1, plus listed versions
1.8.27-8ubuntu1
1.8.27-8ubuntu1.1
htmldoc
Ubuntu: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 18 moreShow less
MoveEnter Open