cve.bz

CVE-2022-46285 x.org libxpm: Infinite Loop

7.5 highEPSS 1.3%Fix available

High (7.5) in x.org libxpm. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-03-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-46285 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-46285?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-46285?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-46285 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
x.org:libxpmbefore 3.5.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libxpm1:3.5.12-1+deb10u1DLA-3459-1
Debian12, 13, 14libxpm1:3.5.12-1.1DEBIAN-CVE-2022-46285
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 6 moremotifno fix listedUBUNTU-CVE-2022-46285
Ubuntu18.04:LTSlibxpm1:3.5.12-1ubuntu0.18.04.2UBUNTU-CVE-2022-46285 USN-5807-1
Ubuntu20.04:LTSlibxpm1:3.5.12-1ubuntu0.20.04.1UBUNTU-CVE-2022-46285 USN-5807-1
Ubuntu22.04:LTSlibxpm1:3.5.12-1ubuntu0.22.04.1UBUNTU-CVE-2022-46285 USN-5807-1
UbuntuPro:14.04:LTSlibxpm1:3.5.10-1ubuntu0.1+esm1UBUNTU-CVE-2022-46285 USN-5807-3
UbuntuPro:16.04:LTSlibxpm1:3.5.11-1ubuntu0.16.04.1+esm1UBUNTU-CVE-2022-46285 USN-5807-2
Red Hatenterprise_linux:8::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_7RHSA-2023:0379
Red Hatenterprise_linux:9::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.13-8.el9_1RHSA-2023:0383
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_2RHSA-2023:0380
Red Hatrhel_e4s:8.1::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_1RHSA-2023:0384
Red Hatrhel_eus:8.4::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_4RHSA-2023:0382
Red Hatrhel_eus:8.6::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.12-9.el8_6RHSA-2023:0378
Red Hatrhel_eus:9.0::appstreamlibXpm, libXpm-devel, libXpm-debuginfo and 2 more0:3.5.13-8.el9_0RHSA-2023:0381
SUSEEnterprise Storage 6, Enterprise Storage 7, Enterprise Storage 7.1 and 17 morelibXpm3.5.12-150000.3.7.2SUSE-SU-2023:0171-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5 and 5 morelibXpm3.5.11-6.7.1SUSE-SU-2023:0165-1
openSUSELeap 15.4libXpm3.5.12-150000.3.7.2SUSE-SU-2023:0171-1
AlmaLinux8libXpm, libXpm-devel3.5.12-9.el8_7ALSA-2023:0379
AlmaLinux9libXpm, libXpm-devel3.5.13-8.el9_1ALSA-2023:0383
Rocky Linux8libXpm0:3.5.12-9.el8_7RLSA-2023:0379
Rocky Linux9libXpm0:3.5.13-8.el9_1RLSA-2023:0383
Alpinev3.14, v3.15, v3.16 and 8 morelibxpm3.5.15-r0ALPINE-CVE-2022-46285
Azure Linux2libXpm3.5.17-1AZL-13249

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libXpm-0:3.5.12-9.el8_7Fixed 2023-01-23RHSA-2023:0379
Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionslibXpm-0:3.5.12-9.el8_1Fixed 2023-01-23RHSA-2023:0384
Red Hat Enterprise Linux 8.2 Advanced Update SupportlibXpm-0:3.5.12-9.el8_2Fixed 2023-01-23RHSA-2023:0380
Red Hat Enterprise Linux 8.2 Telecommunications Update ServicelibXpm-0:3.5.12-9.el8_2Fixed 2023-01-23RHSA-2023:0380
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionslibXpm-0:3.5.12-9.el8_2Fixed 2023-01-23RHSA-2023:0380
Red Hat Enterprise Linux 8.4 Extended Update SupportlibXpm-0:3.5.12-9.el8_4Fixed 2023-01-23RHSA-2023:0382
Red Hat Enterprise Linux 8.6 Extended Update SupportlibXpm-0:3.5.12-9.el8_6Fixed 2023-01-23RHSA-2023:0378
Red Hat Enterprise Linux 9libXpm-0:3.5.13-8.el9_1Fixed 2023-01-23RHSA-2023:0383
Red Hat Enterprise Linux 9.0 Extended Update SupportlibXpm-0:3.5.13-8.el9_0Fixed 2023-01-23RHSA-2023:0381
Red Hat Enterprise Linux 6libXpmOut of support scope
Red Hat Enterprise Linux 7libXpmOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-46285.

References

Check your stackJSON