HOMEVULNERABILITIESCVE-2021-26259
HIGH

CVE-2021-26259

CWE-787Published: March 3, 2022· Updated: Jun 17, 2026

7.8
CVSS v3.1

Official Description

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

NVD Source

Technical Analysis

CVE-2021-26259 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.

From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Vendors & Products

htmldoc_project1 product(s)
htmldoc
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (4)

https://github.com/michaelrsweet/htmldoc/issues/417Exploit · Issue Tracking · Patch · Third Party Advisory
https://github.com/michaelrsweet/htmldoc/issues/417Exploit · Issue Tracking · Patch · Third Party Advisory

Quick Facts

CVE IDCVE-2021-26259
CVSS Score7.8 / 10
SeverityHIGH
WeaknessCWE-787
CISA KEVNo
Affected1 vendor(s)
PublishedMar 3, 2022

Related CVEs (CWE-787)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-26259 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.