CVE-2021-23158

CRITICAL
Published Mar 16, 20224y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Mar 16, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

Description

A flaw was found in htmldoc in v1.9.12. Double-free in function pspdf_export(),in ps-pdf.cxx may result in a write-what-where condition, allowing an attacker to execute arbitrary code and denial of service.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-415

Affected Products 1

VendorProductVersionRange
htmldoc_projecthtmldoc1.9.12any

References 3

  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1967018
    Issue TrackingThird Party Advisory
  • github.com https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc
    PatchThird Party Advisory
  • github.com https://github.com/michaelrsweet/htmldoc/issues/414
    ExploitIssue TrackingThird Party Advisory

Remediation

  • github.com https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc
    PatchThird Party Advisory