Skip to main content

libXpm CVE-2026-4367

| EUVDEUVD-2026-37136 MEDIUM
Out-of-bounds Read (CWE-125)
5.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Gain low-privilege local access
  2. Delivery
    Craft malformed XPM image file
  3. Exploit
    Deliver file to libXpm-linked application
  4. Execution
    Trigger xpmNextWord() out-of-bounds read
  5. Impact
    Crash application (DoS) or leak adjacent memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the attacker have a local account with low privileges on the target system (PR:L per CVSS). The attacker must be able to supply or cause a libXpm-linked application to parse a maliciously crafted XPM file. This limits exploitation to scenarios where: (1) untrusted users can submit image files to services or applications that process XPM format using libXpm, or (2) an attacker has already established a low-privilege foothold. No network-facing exploitation path is indicated - AV:L in the CVSS vector confirms the local-only attack surface. The vulnerability does not require user interaction (UI:N), meaning if a service automatically processes XPM files, no end-user action is needed once the file is delivered. Limiting factors include the requirement for local access and the absence of a scope change (S:U), meaning compromise is contained to the vulnerable application process.

Impact

The CVSS 3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately reflects a local, low-complexity exploitation scenario with the primary impact being application availability. The local attack vector (AV:L) and requirement for low privileges (PR:L) significantly constrain real-world exploitability - an attacker must already have a foothold on the target system. No EPSS data was provided, so exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog, and no public exploit or POC has been identified. The 'Information Disclosure' tag warrants scrutiny: CWE-125 out-of-bounds reads inherently risk exposing memory contents beyond a pure crash, which the C:N in the official CVSS vector may understate. Overall, this is a moderate-priority issue for systems where untrusted XPM files can be processed by privileged services; interactive desktop workstations face limited risk from low-privileged local users. The absence of EPSS data, KEV listing, and any confirmed POC keeps this firmly in the patching backlog rather than emergency remediation territory.

Exploit ScenarioDerived

A local attacker with a standard low-privilege account crafts a malformed XPM image file designed to trigger the out-of-bounds read in xpmNextWord() during parsing. The attacker then causes a target application - such as an image viewer, icon loader, or window manager - to process the file, resulting in an application crash or potential memory disclosure. No public POC code has been identified at time of analysis, but the simplicity of triggering parser bugs with malformed file input keeps the realistic exploitation bar low for a local attacker.

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 – Jun 16, 2026

Out-of-bounds read in libXpm's xpmNextWord() parser function can be triggered by a local attacker with low privileges, crashing any X11 application that processes a maliciously crafted XPM image file, resulting in a denial of service. The vulnerability was disclosed via the oss-security mailing list on 2026-04-21 by X.Org and is tracked under CWE-125. No public exploit code or CISA KEV listing has been identified at time of analysis, and the EPSS score was not provided in available intelligence.

RemediationAI

The primary remediation is to apply the upstream fix available at the GitLab commit https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/5448e1bd. A specific released and tagged version of libXpm incorporating this fix was not independently confirmed from available data - users should verify with their distribution's security advisories (Red Hat: https://access.redhat.com/security/cve/CVE-2026-4367; Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2448984). Until a patched package is available from the OS vendor, a practical compensating control is to restrict which users and processes can supply arbitrary XPM files to applications - for example, configuring mandatory access control policies (SELinux/AppArmor) to confine image-processing applications and preventing untrusted users from providing input files to setuid or privileged processes. Disabling or blocking loading of user-supplied XPM files in affected applications is the most targeted mitigation where operationally feasible.

Affected ProductsAI

The vulnerability affects the libXpm library maintained by X.Org/freedesktop.org. Based on the oss-security disclosure dated 2026-04-21 and Red Hat's CVE tracking page at https://access.redhat.com/security/cve/CVE-2026-4367, distributions shipping unpatched versions of libXpm prior to the upstream fix (commit 5448e1bd) are affected. Red Hat's Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2448984 is the canonical downstream tracking reference. Exact affected version boundaries are not independently confirmed from the available data - the upstream fix commit should be used to determine the first safe revision. Any Linux or BSD system with an X11 graphical stack running libXpm is potentially in scope.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

libXpm (X PixMap) is the reference library for parsing the XPM image format used throughout X11/X.Org graphical environments on Linux and BSD systems. The xpmNextWord() function is responsible for tokenizing XPM file content during parsing. CWE-125 (Out-of-Bounds Read) indicates that the function reads memory beyond the allocated buffer boundary when processing malformed or attacker-controlled XPM input, which can cause a segmentation fault or application crash. The 'Buffer Overflow' and 'Information Disclosure' tags in the intelligence data suggest the out-of-bounds read may also expose adjacent heap or stack memory contents, a common secondary risk with CWE-125 class vulnerabilities. The upstream fix is referenced by GitLab commit 5448e1bd in the freedesktop.org libXpm repository.

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 (CNA) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.1 MEDIUM

Local vector and low privileges required; C:L added over official C:N because CWE-125 OOB reads and the 'Information Disclosure' tag indicate potential memory exposure.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

2
CVSS changed
Jun 16, 2026 - 19:22 NVD
5.5 (MEDIUM)
CVE Published
Apr 24, 2026 - 12:21 nvd
N/A

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 Fixed
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Server 16.0 Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected

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