Vulnerability · Published Feb 7, 2023 · Assigned by redhat

CVE-2022-46285

High 7.5

In plain English

A high-severity infinite loop in libXpm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.3%top 29.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libXpm3.5.12-9.el8_7ALSA-2023:0379
AlmaLinux:9libXpm3.5.13-8.el9_1ALSA-2023:0383
AlmaLinux:8libXpm-devel3.5.12-9.el8_7ALSA-2023:0379
AlmaLinux:9libXpm-devel3.5.13-8.el9_1ALSA-2023:0383
Alpine:v3.20libxpm3.5.15-r0ALPINE-CVE-2022-46285
Alpine:v3.21libxpm3.5.15-r0ALPINE-CVE-2022-46285
Alpine:v3.22libxpm3.5.15-r0ALPINE-CVE-2022-46285
Alpine:v3.23libxpm3.5.15-r0ALPINE-CVE-2022-46285
Alpine:v3.24libxpm3.5.15-r0ALPINE-CVE-2022-46285
Debian:12libxpm1:3.5.12-1.1DEBIAN-CVE-2022-46285
Debian:13libxpm1:3.5.12-1.1DEBIAN-CVE-2022-46285
Debian:14libxpm1:3.5.12-1.1DEBIAN-CVE-2022-46285
Rocky Linux:8libXpm0:3.5.12-9.el8_7RLSA-2023:0379
Rocky Linux:9libXpm0:3.5.13-8.el9_1RLSA-2023:0383
Ubuntu:22.04:LTSlibxpm1:3.5.12-1ubuntu0.22.04.1USN-5807-1
Ubuntu:22.04:LTSlibxpm1:3.5.12-1ubuntu0.22.04.1UBUNTU-CVE-2022-46285
Ubuntu:22.04:LTSmotifno fix listedUBUNTU-CVE-2022-46285
Ubuntu:24.04:LTSmotifno fix listedUBUNTU-CVE-2022-46285
Ubuntu:25.10motifno fix listedUBUNTU-CVE-2022-46285
Ubuntu:26.04:LTSmotifno fix listedUBUNTU-CVE-2022-46285
Ubuntu:26.10motifno fix listedUBUNTU-CVE-2022-46285

Affected products (as reported)

VendorProductVersions
n/a libXpm 3.5.15

Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References