Skip to content
Fencer Vulns
high 7.8

CVE-2023-43787 json

Libx11: integer overflow in xcreateimage() leading to a heap overflow

published 2023-10-10 3 y ago modified 2026-11-07 46 h ago also EUVD-2023-48164 , JLSEC-2026-475

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 41%
public exploits
0
none known

Summary

A vulnerability was found in libX11 due to an integer overflow within the XCreateImage() function. This flaw allows a local user to trigger an integer overflow and execute arbitrary code with elevated privileges.

Patch / fix

  • julia Xorg_libX11_jll 1.8.12+0
  • Red Hat Red Hat Enterprise Linux 8 0:1.6.8-8.el8
  • Red Hat Red Hat Enterprise Linux 9 0:1.7.0-9.el9
  • libx11 Debian 12 2:1.8.4-2+deb12u2
  • libx11 Debian 14, Debian 13 2:1.8.7-1

debian advisories DEBIAN-CVE-2023-43787

  • libx11 Ubuntu 20.04 LTS 2:1.6.9-2ubuntu1.6
  • libx11 Ubuntu 22.04 LTS 2:1.7.5-1ubuntu0.3
  • libx11 Ubuntu 24.04 LTS 2:1.8.6-1ubuntu1
  • libxpm Ubuntu 20.04 LTS 1:3.5.12-1ubuntu0.20.04.2
  • libxpm Ubuntu 22.04 LTS 1:3.5.12-1ubuntu0.22.04.2
  • libxpm Ubuntu 24.04 LTS 1:3.5.12-1.1ubuntu1
  • libx11 Ubuntu Pro 14.04 LTS 2:1.6.2-1ubuntu2.1+esm5
  • libx11 Ubuntu Pro 16.04 LTS 2:1.6.3-1ubuntu2.2+esm4

ubuntu advisories UBUNTU-CVE-2023-43787

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libX11 RHEL 8 1.6.8-8.el8
  • libX11-xcb RHEL 8 1.6.8-8.el8
  • libX11-common RHEL 8 1.6.8-8.el8
  • libX11 RHEL 9 1.7.0-9.el9
  • libX11-xcb RHEL 9 1.7.0-9.el9
  • libX11-common RHEL 9 1.7.0-9.el9

red hat advisories RHSA-2024:2973RHSA-2024:2145

  • libX11 SLE Module for Basesystem 15 SP5, SLE Module for Basesystem 15 SP4, SLE Micro 5.5 +7 more 1.6.5-150000.3.33.1
  • libX11 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.6.2-12.33.1

suse advisories SUSE-SU-2024:2453-1SUSE-SU-2023:3989-1SUSE-SU-2023:3963-1

  • libX11 AlmaLinux 8 1.6.8-8.el8
  • libX11-xcb AlmaLinux 8 1.6.8-8.el8
  • libX11-common AlmaLinux 8 1.6.8-8.el8
  • libX11 AlmaLinux 9 1.7.0-9.el9
  • libX11-xcb AlmaLinux 9 1.7.0-9.el9
  • libX11-common AlmaLinux 9 1.7.0-9.el9

almalinux advisories ALSA-2024:2973ALSA-2024:2145

  • libX11 Rocky Linux 9 1.7.0-9.el9
  • libX11 Rocky Linux 8 1.6.8-8.el8

rocky linux advisories RLSA-2024:2145RLSA-2024:2973

  • libx11 Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.8.7-r0

alpine advisories ALPINE-CVE-2023-43787

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libX11 CBL-Mariner 2.0 1.8.7-1

azure linux advisories AZL-31322

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-43787 updated cvss 7.8

libX11: integer overflow in XCreateImage() leading to a heap overflow

  • Red Hat Enterprise Linux 6 libX11, libX11-common Red Hat Enterprise Linux 7 libX11, libX11-common
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) libX11 1.6.8-8.el8, libX11-xcb 1.6.8-8.el8, libX11-common 1.6.8-8.el8
    fixed: vendor fix RHSA-2024:2973
  • Red Hat Enterprise Linux AppStream (v. 9) libX11 1.7.0-9.el9, libX11-xcb 1.7.0-9.el9, libX11-common 1.7.0-9.el9
    fixed: vendor fix RHSA-2024:2145

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia Xorg_libX11_jll
<1.8.12+0
1.8.12+0

Affected products

  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.