Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libxpm package, versions <3.5.15-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.17% (55th 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-ALPINE321-LIBXPM-8484388
  • published6 Dec 2024
  • disclosed6 Feb 2023

Introduced: 6 Feb 2023

CVE-2022-44617  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 libxpm to version 3.5.15-r0 or higher.

NVD Description

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

A flaw was found in libXpm. When processing a file with width of 0 and a very large height, some parser functions will be called repeatedly and can lead to an infinite loop, resulting in a Denial of Service in the application linked to the library.

CVSS Scores

version 3.1