CVE-2022-46285 json
A flaw was found in libXpm.
published 2023-02-07 3 y ago modified 2026-07-18 3 mo ago also EUVD-2022-49103 , JLSEC-2026-284
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia Xorg_libXpm_jll 3.5.17+0
- x.org libxpm 3.5.15
- libxpm Debian 14, Debian 13, Debian 12 1:3.5.12-1.1
debian advisories DEBIAN-CVE-2022-46285
- libxpm Ubuntu 18.04 LTS 1:3.5.12-1ubuntu0.18.04.2
- libxpm Ubuntu 20.04 LTS 1:3.5.12-1ubuntu0.20.04.1
- libxpm Ubuntu 22.04 LTS 1:3.5.12-1ubuntu0.22.04.1
- libxpm Ubuntu Pro 14.04 LTS 1:3.5.10-1ubuntu0.1+esm1
- libxpm Ubuntu Pro 16.04 LTS 1:3.5.11-1ubuntu0.16.04.1+esm1
ubuntu advisories UBUNTU-CVE-2022-46285
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libXpm RHEL 9 3.5.13-8.el9_1
- libXpm RHEL 8 3.5.12-9.el8_7
- libXpm RHEL 9.0 EUS 3.5.13-8.el9_0
- libXpm RHEL 8.2 TUS, RHEL 8.2 E4S, RHEL 8.2 AUS 3.5.12-9.el8_2
- libXpm RHEL 8.6 EUS 3.5.12-9.el8_6
- libXpm RHEL 8.1 E4S 3.5.12-9.el8_1
- libXpm RHEL 8.4 EUS 3.5.12-9.el8_4
red hat advisories RHSA-2023:0381RHSA-2023:0380RHSA-2023:0378RHSA-2023:0383RHSA-2023:0384RHSA-2023:0382
- libXpm SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +18 more 3.5.12-150000.3.7.2
- libXpm SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 3.5.11-6.7.1
suse advisories SUSE-SU-2023:0171-1SUSE-SU-2023:0165-1
- libXpm AlmaLinux 8 3.5.12-9.el8_7
- libXpm AlmaLinux 9 3.5.13-8.el9_1
almalinux advisories ALSA-2023:0379ALSA-2023:0383
- libXpm Rocky Linux 9 3.5.13-8.el9_1
- libXpm Rocky Linux 8 3.5.12-9.el8_7
rocky linux advisories RLSA-2023:0383RLSA-2023:0379
- libxpm Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 3.5.15-r0
alpine advisories ALPINE-CVE-2022-46285
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-46285 updated cvss 7.5
libXpm: Infinite loop on unclosed comments
-
Red Hat Enterprise Linux 6 libXpm Red Hat Enterprise Linux 7 libXpmaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) libXpm 3.5.12-9.el8_7fixed: vendor fix RHSA-2023:0379
-
Red Hat Enterprise Linux AppStream (v. 9) libXpm 3.5.13-8.el9_1fixed: vendor fix RHSA-2023:0383
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) libXpm 3.5.12-9.el8_2fixed: vendor fix RHSA-2023:0380
-
Red Hat Enterprise Linux AppStream E4S (v. 8.1) libXpm 3.5.12-9.el8_1fixed: vendor fix RHSA-2023:0384
-
Red Hat Enterprise Linux AppStream E4S (v. 8.2) libXpm 3.5.12-9.el8_2fixed: vendor fix RHSA-2023:0380
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) libXpm 3.5.12-9.el8_4fixed: vendor fix RHSA-2023:0382
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) libXpm 3.5.12-9.el8_6fixed: vendor fix RHSA-2023:0378
show 2 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) libXpm 3.5.13-8.el9_0fixed: vendor fix RHSA-2023:0381
-
Red Hat Enterprise Linux AppStream TUS (v. 8.2) libXpm 3.5.12-9.el8_2fixed: vendor fix RHSA-2023:0380
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
1.28% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Xorg_libXpm_jll | <3.5.17+0 |
3.5.17+0 |
Affected products
- n/a libXpm
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
gitlab.freedesktop.org
/xorg/lib/libxpm/-/merge_requests/9
web
-
gitlab.freedesktop.org
/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148
web
-
bugzilla.redhat.com
/show_bug.cgi?id=2160092
issue-tracking, patch, third-party-advisory, web
-
lists.x.org
/archives/xorg-announce/2023-January/003312.html
web
-
lists.debian.org
/debian-lts-announce/2023/06/msg00021.html
mailing-list, web
-
openwall.com
/lists/oss-security/2023/10/03/1
mailing-list, web
-
openwall.com
/lists/oss-security/2023/10/03/10
mailing-list, web
Sources
- CVE List CVE-2022-46285
- NVD CVE-2022-46285
- OSV JLSEC-2026-284
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.