---
id: CVE-2023-43789
title: 'Libxpm: out of bounds read on xpm with corrupted colormap'
summary: >-
  A vulnerability was found in libXpm where a vulnerability exists due to a
  boundary condition, a local user can trigger an out-of-bounds read error and
  read contents of memory on the system.
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-125
vendor: Red Hat
product: libXpm
affected:
  - libXpm < 3.5.17
  - libXpm (all versions)
  - motif (all versions)
  - libXpm (all versions)
  - motif (all versions)
  - libXpm
  - libXpm
  - motif
published: '2023-10-12'
updated: '2026-11-07'
sourceUpdated: '2026-11-07T11:32:45.654Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-43789'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:2146'
    label: 'RHSA-2024:2146'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2217'
    label: 'RHSA-2024:2217'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2974'
    label: 'RHSA-2024:2974'
  - url: 'https://access.redhat.com/errata/RHSA-2024:3022'
    label: 'RHSA-2024:3022'
  - url: 'https://access.redhat.com/security/cve/CVE-2023-43789'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2242249'
    label: RHBZ#2242249
tags:
  - cve.org
epss: 0.00364
epssPercentile: 0.30383
ingestedAt: '2026-11-07T12:16:41.105Z'
---

## Overview

A vulnerability was found in libXpm where a vulnerability exists due to a boundary condition, a local user can trigger an out-of-bounds read error and read contents of memory on the system.

## Affected

- `libXpm < 3.5.17`
- `libXpm (all versions)`
- `motif (all versions)`
- `libXpm (all versions)`
- `motif (all versions)`
- `libXpm`
- `libXpm`
- `motif`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
