# CVE-2026-4367: Libxpm: libxpm: denial of service via out-of-bounds read in xpm file parsing

> A local attacker can cause a denial of service by tricking an application into processing a maliciously crafted XPM image file.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 16 Jun 2026
- **Updated:** 28 Jul 2026
- **Also known as:** ALPINE-CVE-2026-4367, AZL-90198, BELL-CVE-2026-4367, DEBIAN-CVE-2026-4367, ECHO-0d21-3249-4af2, GHSA-c2rx-36v4-qc8g, MGASA-2026-0186, OESA-2026-2151, RHSA-2026:30354, ROOT-OS-DEBIAN-11-CVE-2026-4367, SUSE-SU-2026:22121-1, UBUNTU-CVE-2026-4367, USN-8600-1, openSUSE-SU-2026:10608-1, openSUSE-SU-2026:20953-1

## What is CVE-2026-4367?

CVE-2026-4367 is a medium-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 16 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A flaw was found in libXpm. A local user with low privileges could exploit an Out-of-Bounds Read vulnerability in the `xpmNextWord()` function by processing a specially crafted or very small XPM (X PixMap) image file. This improper validation of file boundaries can cause an internal pointer to read beyond the file's end, leading to application crashes and Denial of Service conditions.

Weakness: CWE-125 (Out-of-bounds Read)

## Which versions are affected by CVE-2026-4367?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `libXpm` | Red Hat:hummingbird:1 | All versions | 0:3.5.17-7.2.hum1 |
| `libXpm-devel` | Red Hat:hummingbird:1 | All versions | 0:3.5.17-7.2.hum1 |
| `libXpm` | SUSE:Linux Enterprise Server 16.0 | All versions | 3.5.17-160000.3.1 |
| `libXpm` | SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 3.5.17-160000.3.1 |
| `libXpm` | openSUSE:Leap 16.0 | All versions | 3.5.17-160000.3.1 |
| `libXpm` | openSUSE:Tumbleweed | All versions | 3.5.18-2.1 |

## How do I fix CVE-2026-4367?

Apply the vendor's patch.

## Is CVE-2026-4367 being exploited?

There is no known exploitation of CVE-2026-4367 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-4367 and fix it if it is affected.

What it is: CVE-2026-4367 is a medium-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 16 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-4367 in the wild and no public exploit code.

Affected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-4367/ (Markdown: https://insights.sbomify.com/CVE-2026-4367/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-4367
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-4367
- OSV: https://osv.dev/vulnerability/CVE-2026-4367

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-4367/
Summaries are generated and may contain mistakes; the official description above is the record.
