Skip to content
Heist/ feed
Back to feed
Medium

Libxpm: libxpm: denial of service via out-of-bounds read in xpm file parsing

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-4367
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 05:59 UTC · Revision 1

Source evidence

Libxpm: libxpm: denial of service via out-of-bounds read in xpm file parsing

core-osv · Original source

Published 16 Jun 2026, 16:50 UTC

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.

osv:CVE-2026-4367
Complete source record
{
  "id": "8dd1f90321b707b7112c6988b4039eef82371907697dd7e900851f90b693fb84",
  "url": "https://osv.dev/vulnerability/CVE-2026-4367",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Libxpm: libxpm: denial of service via out-of-bounds read in xpm file parsing",
    "summary": "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.",
    "evidence": "osv:CVE-2026-4367",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-4367",
      "aliases": [
        "CVE-2026-4367"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.freedesktop.org/xorg/lib/libxpm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5448e1bd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "5448e1bd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4367.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.182968138Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://catalog.redhat.com/software/containers/",
        "https://seclists.org/oss-sec/2026/q2/192",
        "https://access.redhat.com/errata/RHSA-2026:30354",
        "https://access.redhat.com/errata/RHSA-2026:47072",
        "https://access.redhat.com/security/cve/CVE-2026-4367",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4367.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-4367",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2448984",
        "https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/5448e1bd"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-125"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "3.5.17-7.2.hum1"
                  },
                  {
                    "fixed": "3.5.19-4.hum1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4367.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-4367",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518420,
  "published_at": "2026-06-16T16:50:15.037+00:00"
}