Loop with Unreachable Exit Condition ('Infinite Loop') Affecting htmldoc package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.06% (29th 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-UBUNTU2004-HTMLDOC-2441616
  • published20 Feb 2025
  • 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?

There is no fixed version for Ubuntu:20.04 htmldoc.

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:20.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 Scores

version 3.1