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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.28% (70th 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-ECHOLATEST-LIBXPM-19643806
  • published8 Sept 2026
  • disclosed7 Feb 2023

Introduced: 7 Feb 2023

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

How to fix?

Upgrade Echo:latest libxpm to version 1:3.5.12-1.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 Echo. See How to fix? for Echo:latest 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