Double Free Affecting htmldoc package, versions <1.9.2-1ubuntu0.2+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.44% (83rd 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 IDSNYK-UBUNTU1804-HTMLDOC-1299961
  • published4 Jun 2021
  • disclosed16 Mar 2022

Introduced: 4 Jun 2021

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

How to fix?

Upgrade Ubuntu:18.04 htmldoc to version 1.9.2-1ubuntu0.2+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream htmldoc package and not the htmldoc package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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 Base Scores

version 3.1