Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libxpm package, versions <1:3.5.12-1ubuntu0.22.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (11th 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-UBUNTU2204-LIBXPM-3232774
  • published18 Jan 2023
  • disclosed6 Feb 2023

Introduced: 18 Jan 2023

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

How to fix?

Upgrade Ubuntu:22.04 libxpm to version 1:3.5.12-1ubuntu0.22.04.1 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 Ubuntu. See How to fix? for Ubuntu:22.04 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 Base Scores

version 3.1