Skip to main content

libXpm CVE-2026-94287

| EUVDEUVD-2026-88179 MEDIUM
Excessive Platform Resource Consumption within a Loop (CWE-1050)
2026-09-28 meissner@suse.de GHSA-ggh5-2m6x-59xg
5.5
CVSS 3.1 · Vendor: suse
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious XPM input
  2. Delivery
    Deliver to victim who processes it
  3. Exploit
    Trigger unsigned underflow in libXpm write path
  4. Execution
    Enter unbounded allocation/CPU loop
  5. Impact
    Exhaust memory and CPU (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Excessive platform resource consumption
Exploitation Conditions

Exploitation requires a victim application linked against libXpm (before 3.5.19) to invoke the XPM write/save code path on attacker-influenced data - i.e. the flaw is in the write path, so a workflow that writes or converts to XPM format is the specific trigger. Limiting factors: the vector is local (AV:L) and requires user interaction (UI:R) - the victim must actively process the crafted input; there is no remote/network trigger and no authentication is bypassed. Impact is confined to denial of service (CPU/memory exhaustion) with no data exposure or code execution.

Impact

This is a genuine but low-priority issue. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, base 5.5) describes a local, low-complexity, availability-only denial of service that requires user interaction and yields no confidentiality or integrity impact. No EPSS score, no CISA KEV listing, and no public exploit code are present in the input - so per available signals this is 'no public exploit identified at time of analysis.' There is no SSVC decision data supplied. The impact is strictly resource exhaustion (unbounded CPU and memory), not code execution, despite libXpm's history of memory-safety CVEs. Note a nuance to verify: PR:N with UI:R means no attacker credentials are needed, but a victim must actively process/write an attacker-controlled XPM through an application linked against libXpm - the 'local' vector reflects that the malicious input is fed to a local process, not remote network reachability. Bottom line: real fix worth applying via distro updates, but not an urgent, widely-weaponizable threat.

Exploit ScenarioDerived

An attacker crafts a malicious XPM image that, when a victim opens or converts it in an application using libXpm's write path (e.g. an image viewer/converter saving to XPM), triggers an unsigned integer underflow that drives an unbounded loop. The victim's process consumes runaway CPU and exhausts memory, hanging or crashing the application or starving the host. No public proof-of-concept is identified in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 28, 2026

An unsigned integer underflow in libXpm's XPM write/save path (libXpm before 3.5.19) causes unbounded CPU consumption and memory exhaustion, resulting in denial of service. The flaw is reachable only when an application linked against the library is made to write or convert attacker-influenced data to the XPM format, so exploitation is local (AV:L) and requires the victim to actively process the crafted input (UI:R); no privileges are required (PR:N) and there is no path to data disclosure or code execution. No public exploit has been identified at time of analysis, and no confirmed active exploitation (CISA KEV) has been reported; the upstream fix is present in a libXpm merge-request commit, with libXpm 3.5.19 indicated as the corrected version. Given the local, interaction-dependent trigger and DoS-only impact (CVSS 5.5), this is a genuine but low-priority issue.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. The corrective change is in the libXpm merge request at https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/32/diffs?commit_id=3a68f818b1628d7ad96245b0f4d15a32a015b0ab (commit 3a68f818b1628d7ad96245b0f4d15a32a015b0ab), and the vulnerability is described as affecting libXpm before 3.5.19, so upgrading to libXpm 3.5.19 or later (or installing the distribution's backported libXpm package) is the primary remediation; verify the exact patched build with your vendor, since a tagged 3.5.19 release was not independently confirmed in the supplied data. Where upgrading is not immediately possible, apply targeted compensating controls: avoid invoking XPM write/save or image-conversion-to-XPM workflows on untrusted or externally supplied data, since only the write path is vulnerable and read-only XPM consumption is unaffected; restrict the set of users or services permitted to run image-conversion tooling; and confine such processes with CPU and memory limits (for example systemd MemoryMax/TasksMax, cgroup v2 limits, or ulimit -v/-t) and a watchdog timeout. The trade-off of resource limiting is that unusually large legitimate conversions may be aborted or slowed, so tune limits against real workloads rather than applying blanket low caps, and note that these controls mitigate impact after the underflow is triggered rather than preventing the faulty loop from starting. No network-facing mitigation applies here, as the vector is local and requires user interaction.

Affected VersionsENISA

libXpm 0 <3.5.19

Affected Packages

euvd libxpm fix: 3.5.19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libXpm is the X.Org library implementing the X PixMap (XPM) image format, widely used by X11 toolkits and image utilities to read and write XPM files. The defect is classified as CWE-1050 (Excessive Platform Resource Consumption within a Loop) and sits specifically in the library's write/save code path rather than the more commonly targeted parsing path. An unsigned counter - most plausibly a size or iteration bound derived from image dimensions or a computed buffer length - underflows and wraps to a very large value, so a downstream loop iterates far beyond the intended count while allocations grow unbounded, driving CPU and memory exhaustion. Because the trigger is the serialization/encoding direction, only code that writes or converts to XPM format exercises the vulnerable logic; read-only consumers of XPM files are not affected. The CVSS vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H confirms a local, low-complexity, unauthenticated, user-interaction-dependent vector with impact confined to availability, which matches the assessed conditions. The upstream corrective change is captured in the X.Org GitLab merge request identified by commit 3a68f818b1628d7ad96245b0f4d15a32a015b0ab.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (suse) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local input processed by a victim app (AV:L, UI:R), no attacker auth needed (PR:N), low complexity underflow (AC:L), availability-only resource-exhaustion impact (A:H, C:N/I:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (suse).

CVSS VectorVendor: suse

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Sep 28, 2026 - 10:16 EUVD
CVE Published
Sep 28, 2026 - 09:17 cve.org
MEDIUM 5.5

DescriptionCVE.org

A denial of service via unsigned underflow in libXpm's write path in libXpm before 3.5.19 could be used by local attackers to cause unbounded CPU usage and memory exhaustion.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
libXpm is a standard X.Org image library shipped across most Linux desktop distributions
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy