Out-of-bounds Write Affecting htmldoc package, versions <1.8.27-8ubuntu1.1+esm3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.29% (53rd 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 Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1604-HTMLDOC-10286628
  • published1 Jun 2025
  • disclosed1 Sept 2024

Introduced: 1 Sep 2024

CVE-2024-45508  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 htmldoc to version 1.8.27-8ubuntu1.1+esm3 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:16.04 relevant fixed versions and status.

HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.

CVSS Base Scores

version 3.1