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


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.71% (81st 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-UBUNTU1404-LIBXPM-3232782
  • published18 Jan 2023
  • disclosed7 Feb 2023

Introduced: 18 Jan 2023

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

How to fix?

Upgrade Ubuntu:14.04 libxpm to version 1:3.5.10-1ubuntu0.1+esm1 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:14.04 relevant fixed versions and status.

A flaw was found in libXpm. This issue occurs when parsing a file with a comment not closed; the end-of-file condition will not be detected, leading to an infinite loop and resulting in a Denial of Service in the application linked to the library.

CVSS Base Scores

version 3.1