Loop with Unreachable Exit Condition ('Infinite Loop') Affecting htmldoc package, versions <1.8.27-8ubuntu1.1+esm3


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.08% (25th 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-UBUNTU1604-HTMLDOC-2441620
  • published22 Mar 2026
  • disclosed4 Apr 2022

Introduced: 4 Apr 2022

CVE-2022-24191  (opens in a new tab)
CWE-835  (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.

In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.

CVSS Base Scores

version 3.1