Read the docs
TI-2021-05943 Aliases CVE-2021-23165GHSA-49mr-vrxv-hmwg

Heap-based buffer overflow in htmldoc

Priority MEDIUM 48CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.

Summary

A flaw was found in htmldoc before v1.9.12. Heap buffer overflow in pspdf_prepare_outpages(), in ps-pdf.cxx may lead to execute arbitrary code and denial of service.

Why it matters now

EPSS 0.03512 89th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed htmldoc: v1.9.12

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—htmldocbefore v1.9.12v1.9.12Patch availableCNA
  • htmldoc Vendor— Affected before v1.9.12 Fixed in v1.9.12 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:htmldoc_project:htmldoc:*:*:*:*:*:*:*:*before 1.9.12VulnerableHtmldoc Project
  • cpe:2.3:a:htmldoc_project:htmldoc:*:*:*:*:*:*:*:* Versions before 1.9.12 Vulnerable ·Htmldoc Project

Remediation

  • Fix · CNA htmldoc Fixed in v1.9.12

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23165
  2. 2026-10-03 Alias added: GHSA-49mr-vrxv-hmwg

References

  • TI-2024-30988 HTMLDOC v1.9.18 contains a buffer overflow in parse_pre function,ps-pdf.cxx:5681. CVSS 3.1CRITICAL 9.8
  • TI-2024-30543 HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because… CVSS 3.1CRITICAL 9.8
  • TI-2021-13278 An Out of Bounds flaw was discovered in htmodoc 1.9.12 in function parse_tree() in… CVSS 3.1HIGH 7.8
  • TI-2021-13277 A flaw was discovered in htmodoc 1.9.12 in function parse_paragraph in ps-pdf.cxx ,this… CVSS 3.1HIGH 7.8
  • TI-2022-00080 Memory corruption in michaelrsweet htmldoc CVSS 3.1HIGH 7.5
  • TI-2021-05939 Double free in htmldoc CVSS 3.1CRITICAL 9.8
See all 22 →

Sources