Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-19630

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-19630
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:02 UTC · Revision 1

Source evidence

CVE-2019-19630

core-osv · Original source

Published 8 Dec 2019, 02:15 UTC

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.

osv:CVE-2019-19630
Complete source record
{
  "id": "7e00dd02a4a3bb10aca4aef727f5c7344699386cf3b80e4704a8646bca6b341c",
  "url": "https://osv.dev/vulnerability/CVE-2019-19630",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-19630",
    "summary": "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.",
    "evidence": "osv:CVE-2019-19630",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-19630",
      "aliases": [
        "CVE-2019-19630"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/michaelrsweet/htmldoc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b9cd4b01995218e2470e41411a949e417512ebe6"
                },
                {
                  "last_affected": "b9cd4b01995218e2470e41411a949e417512ebe6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:htmldoc_project:htmldoc:1.9.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.7"
                      },
                      {
                        "last_affected": "1.9.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.9.7",
            "v1.9.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19630.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:31.843840405Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MZLVUBON5AYWYTFTJ4HBSHGTQTY7KBN/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FEUT3LG6DWTICKXYAN4SWOQWWCGHPLDJ/",
        "https://lists.debian.org/debian-lts-announce/2019/12/msg00008.html",
        "https://lists.debian.org/debian-lts-announce/2021/07/msg00000.html",
        "https://github.com/michaelrsweet/htmldoc/issues/370"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "30"
                  },
                  {
                    "last_affected": "30"
                  },
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-19630",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383678,
  "published_at": "2019-12-08T02:15:10.03+00:00"
}