Double Free Affecting michaelrsweet/htmldoc package, versions [,1.9.12)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MICHAELRSWEETHTMLDOC-2429077
  • published17 Mar 2022
  • disclosed17 Mar 2022
  • creditchiba

Introduced: 17 Mar 2022

CVE-2021-23158  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade michaelrsweet/htmldoc to version 1.9.12 or higher.

Overview

Affected versions of this package are vulnerable to Double Free in function pspdf_export(),in ps-pdf.cxx may result in a write-what-where condition.

CVSS Base Scores

version 3.1