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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libXpm | 3.5.12-9.el8_7 | ALSA-2023:0379 |
| AlmaLinux:9 | libXpm | 3.5.13-8.el9_1 | ALSA-2023:0383 |
| AlmaLinux:8 | libXpm-devel | 3.5.12-9.el8_7 | ALSA-2023:0379 |
| AlmaLinux:9 | libXpm-devel | 3.5.13-8.el9_1 | ALSA-2023:0383 |
| Alpine:v3.20 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-46285 |
| Alpine:v3.21 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-46285 |
| Alpine:v3.22 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-46285 |
| Alpine:v3.23 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-46285 |
| Alpine:v3.24 | libxpm | 3.5.15-r0 | ALPINE-CVE-2022-46285 |
| Debian:12 | libxpm | 1:3.5.12-1.1 | DEBIAN-CVE-2022-46285 |
| Debian:13 | libxpm | 1:3.5.12-1.1 | DEBIAN-CVE-2022-46285 |
| Debian:14 | libxpm | 1:3.5.12-1.1 | DEBIAN-CVE-2022-46285 |
| Rocky Linux:8 | libXpm | 0:3.5.12-9.el8_7 | RLSA-2023:0379 |
| Rocky Linux:9 | libXpm | 0:3.5.13-8.el9_1 | RLSA-2023:0383 |
| Ubuntu:22.04:LTS | libxpm | 1:3.5.12-1ubuntu0.22.04.1 | USN-5807-1 |
| Ubuntu:22.04:LTS | libxpm | 1:3.5.12-1ubuntu0.22.04.1 | UBUNTU-CVE-2022-46285 |
| Ubuntu:22.04:LTS | motif | no fix listed | UBUNTU-CVE-2022-46285 |
| Ubuntu:24.04:LTS | motif | no fix listed | UBUNTU-CVE-2022-46285 |
| Ubuntu:25.10 | motif | no fix listed | UBUNTU-CVE-2022-46285 |
| Ubuntu:26.04:LTS | motif | no fix listed | UBUNTU-CVE-2022-46285 |
| Ubuntu:26.10 | motif | no fix listed | UBUNTU-CVE-2022-46285 |
Affected products (as reported)
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2160092
- https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9
- https://lists.x.org/archives/xorg-announce/2023-January/003312.html
- https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148
- [debian-lts-announce] 20230620 [SECURITY] [DLA 3459-1] libxpm security update mailing-list
- [oss-security] 20231003 Fwd: X.Org Security Advisory: Issues in libX11 prior to 1.8.7 & libXpm prior to 3.5.17 mailing-list
- [oss-security] 20231003 Re: Fwd: X.Org Security Advisory: Issues in libX11 prior to 1.8.7 & libXpm prior to 3.5.17 mailing-list