CVE catalog

CVE-2023-3138

libx11: CVE-2023-3138

[CVE catalog]

Severity
High · CVSS 7.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.66% · Oct 27, 2026

A vulnerability was found in libX11. The security flaw occurs because the functions in src/InitExt.c in libX11 do not check that the values provided for the Request, Event, or Error IDs are within the bounds of the arrays that those functions write to, using those IDs as array indexes. They trust that they were called with values provided by an Xserver adhering to the bounds specified in the X11 protocol, as all X servers provided by X.Org do. As the protocol only specifies a single byte for these values, an out-of-bounds value provided by a malicious server (or a malicious proxy-in-the-middle) can only overwrite other portions of the Display structure and not write outside the bounds of the Display structure itself, possibly causing the client to crash with this memory corruption.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibx11sid2:1.8.14-1fixed
Debianlibx11forky2:1.8.13-1fixed
Debianlibx11trixie2:1.8.12-1fixed
Debianlibx11bookworm2:1.8.4-2+deb12u2fixed
Debianlibx11bookworm-security2:1.8.4-2+deb12u2fixed
Alpinelibx113.151.7.3.1-r1fixed
Alpinelibx113.161.8-r1fixed
Alpinelibx113.171.8.4-r1fixed
Alpinelibx113.181.8.4-r4fixed
Ubuntulibx11pro2:1.6.4-3vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.1vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.2vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.3vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.4vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.4+esm1fixed
Ubuntulibx11pro2:1.6.4-3vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.1vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.2vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.3vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.4vulnerable
Ubuntulibx11pro2:1.6.4-3ubuntu0.4+esm1fixed
Ubuntulibx1120.042:1.6.8-1vulnerable
Ubuntulibx1120.042:1.6.9-2vulnerable
Ubuntulibx1120.042:1.6.9-2ubuntu1vulnerable
Ubuntulibx1120.042:1.6.9-2ubuntu1.1vulnerable
Ubuntulibx1120.042:1.6.9-2ubuntu1.2vulnerable
Ubuntulibx1120.042:1.6.9-2ubuntu1.5fixed
Ubuntulibx1122.042:1.7.2-1vulnerable
Ubuntulibx1122.042:1.7.2-2vulnerable
Ubuntulibx1122.042:1.7.2-2build1vulnerable
Ubuntulibx1122.042:1.7.5-1vulnerable
Ubuntulibx1122.042:1.7.5-1ubuntu0.2fixed
Ubuntulibx1120.042:1.6.8-1vulnerable
Ubuntulibx1120.042:1.6.9-2vulnerable
Ubuntulibx1120.042:1.6.9-2ubuntu1vulnerable
Ubuntulibx1120.042:1.6.9-2ubuntu1.1vulnerable
Ubuntulibx1120.042:1.6.9-2ubuntu1.2vulnerable
Ubuntulibx1120.042:1.6.9-2ubuntu1.5fixed
Ubuntulibx1122.042:1.7.2-1vulnerable
Ubuntulibx1122.042:1.7.2-2vulnerable
Ubuntulibx1122.042:1.7.2-2build1vulnerable
Ubuntulibx1122.042:1.7.5-1vulnerable
Ubuntulibx1122.042:1.7.5-1ubuntu0.2fixed
SuselibX11linux enterprise micro 5.31.6.5-150000.3.30.1fixed
SuselibX11linux enterprise micro 5.41.6.5-150000.3.30.1fixed
SuselibX11linux enterprise module for basesystem 15 sp41.6.5-150000.3.30.1fixed
SuselibX11linux enterprise module for basesystem 15 sp51.6.5-150000.3.30.1fixed
SuselibX11linux enterprise high performance computing 15 sp1-ltss1.6.5-150000.3.30.1fixed
SuselibX11linux enterprise high performance computing 15 sp2-ltss1.6.5-150000.3.30.1fixed
SuselibX11linux enterprise high performance computing 15 sp3-espos1.6.5-150000.3.30.1fixed
SuselibX11linux enterprise high performance computing 15 sp3-ltss1.6.5-150000.3.30.1fixed
SuselibX11linux enterprise real time 15 sp31.6.5-150000.3.30.1fixed
SuselibX11linux enterprise server 15 sp1-ltss1.6.5-150000.3.30.1fixed
SuselibX11linux enterprise server 15 sp2-ltss1.6.5-150000.3.30.1fixed
SuselibX11linux enterprise server 15 sp3-ltss1.6.5-150000.3.30.1fixed
SuselibX11linux enterprise server for sap applications 15 sp11.6.5-150000.3.30.1fixed
SuselibX11linux enterprise server for sap applications 15 sp21.6.5-150000.3.30.1fixed
SuselibX11linux enterprise server for sap applications 15 sp31.6.5-150000.3.30.1fixed
SuselibX11manager proxy 4.21.6.5-150000.3.30.1fixed
SuselibX11manager server 4.21.6.5-150000.3.30.1fixed
SuselibX11linux enterprise micro 5.21.6.5-150000.3.30.1fixed
SuselibX11enterprise storage 71.6.5-150000.3.30.1fixed
SuselibX11enterprise storage 7.11.6.5-150000.3.30.1fixed
OpensuselibX11leap micro 5.31.6.5-150000.3.30.1fixed
OpensuselibX11leap 15.41.6.5-150000.3.30.1fixed
OpensuselibX11leap 15.51.6.5-150000.3.30.1fixed
SuselibX11openstack cloud 91.6.2-12.30.1fixed
SuselibX11openstack cloud crowbar 91.6.2-12.30.1fixed
SuselibX11linux enterprise server for sap applications 12 sp41.6.2-12.30.1fixed
SuselibX11linux enterprise software development kit 12 sp51.6.2-12.30.1fixed
SuselibX11linux enterprise server 12 sp2-bcl1.6.2-12.30.1fixed
SuselibX11linux enterprise server 12 sp4-espos1.6.2-12.30.1fixed
SuselibX11linux enterprise server 12 sp4-ltss1.6.2-12.30.1fixed
SuselibX11linux enterprise server 12 sp51.6.2-12.30.1fixed
SuselibX11linux enterprise server for sap applications 12 sp51.6.2-12.30.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibx11sourcesid2:1.8.6-1not yet assignedNot reported[1038133]
Debianlibx11sourceforky2:1.8.6-1not yet assignedNot reported[1038133]
Debianlibx11sourcetrixie2:1.8.6-1not yet assignedNot reported[1038133]
Debianlibx11sourcebookworm2:1.8.4-2+deb12u1not yet assignedNot reported[1038133]
Alpinelibx11apk3.151.7.3.1-r1Not reportedALPINE-CVE-2023-3138Not reported
Alpinelibx11apk3.161.8-r1Not reportedALPINE-CVE-2023-3138Not reported
Alpinelibx11apk3.171.8.4-r1Not reportedALPINE-CVE-2023-3138Not reported
Alpinelibx11apk3.181.8.4-r4Not reportedALPINE-CVE-2023-3138Not reported
Ubuntulibx11debpro2:1.6.4-3ubuntu0.4+esm1Not reportedUSN-6168-2Not reported
Ubuntulibx11debpro2:1.6.4-3ubuntu0.4+esm1Not reportedUBUNTU-CVE-2023-3138Not reported
Ubuntulibx11deb20.042:1.6.9-2ubuntu1.5Not reportedUBUNTU-CVE-2023-3138Not reported
Ubuntulibx11deb22.042:1.7.5-1ubuntu0.2Not reportedUBUNTU-CVE-2023-3138Not reported
Ubuntulibx11deb20.042:1.6.9-2ubuntu1.5Not reportedUSN-6168-1Not reported
Ubuntulibx11deb22.042:1.7.5-1ubuntu0.2Not reportedUSN-6168-1Not reported
SuselibX11rpmlinux enterprise micro 5.31.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise micro 5.41.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise module for basesystem 15 sp41.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise module for basesystem 15 sp51.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise high performance computing 15 sp1-ltss1.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise high performance computing 15 sp2-ltss1.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise high performance computing 15 sp3-espos1.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise high performance computing 15 sp3-ltss1.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise real time 15 sp31.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise server 15 sp1-ltss1.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise server 15 sp2-ltss1.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise server 15 sp3-ltss1.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise server for sap applications 15 sp11.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise server for sap applications 15 sp21.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise server for sap applications 15 sp31.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmmanager proxy 4.21.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmmanager server 4.21.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmlinux enterprise micro 5.21.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmenterprise storage 71.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmenterprise storage 7.11.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
OpensuselibX11rpmleap micro 5.31.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
OpensuselibX11rpmleap 15.41.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
OpensuselibX11rpmleap 15.51.6.5-150000.3.30.1Not reportedSUSE-SU-2023:2614-1Not reported
SuselibX11rpmopenstack cloud 91.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported
SuselibX11rpmopenstack cloud crowbar 91.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported
SuselibX11rpmlinux enterprise server for sap applications 12 sp41.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported
SuselibX11rpmlinux enterprise software development kit 12 sp51.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported
SuselibX11rpmlinux enterprise server 12 sp2-bcl1.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported
SuselibX11rpmlinux enterprise server 12 sp4-espos1.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported
SuselibX11rpmlinux enterprise server 12 sp4-ltss1.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported
SuselibX11rpmlinux enterprise server 12 sp51.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported
SuselibX11rpmlinux enterprise server for sap applications 12 sp51.6.2-12.30.1Not reportedSUSE-SU-2023:2531-1Not reported

[Debian bug #1038133]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libx11-6]Fixed

    Source package: [libx11]

    Details (4)
    • 2:1.8.4-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

  • Source package: [libx11]

    Details (4)
    • 2:1.8.4-2+deb12u2 · all · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · all · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

  • [libx11-dev]Fixed

    Source package: [libx11]

    Details (4)
    • 2:1.8.4-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

  • [libx11-doc]Fixed

    Source package: [libx11]

    Details (4)
    • 2:1.8.4-2+deb12u2 · all · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · all · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

  • Source package: [libx11]

    Details (4)
    • 2:1.8.4-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

  • Source package: [libx11]

    Details (4)
    • 2:1.8.4-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

    • 2:1.8.4-2+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2:1.8.4-2+deb12u1

      dsa · libx11 · debian · bookworm; dsa · libx11 · debian · 12

[Debian 13 (Trixie)]

  • [libx11-6]Fixed

    Source package: [libx11]

    Details (2)
    • 2:1.8.12-1 · amd64 · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

    • 2:1.8.12-1 · arm64 · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

  • Source package: [libx11]

    Details (2)
    • 2:1.8.12-1 · all · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

    • 2:1.8.12-1 · all · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

  • [libx11-dev]Fixed

    Source package: [libx11]

    Details (2)
    • 2:1.8.12-1 · amd64 · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

    • 2:1.8.12-1 · arm64 · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

  • [libx11-doc]Fixed

    Source package: [libx11]

    Details (2)
    • 2:1.8.12-1 · all · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

    • 2:1.8.12-1 · all · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

  • Source package: [libx11]

    Details (2)
    • 2:1.8.12-1 · amd64 · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

    • 2:1.8.12-1 · arm64 · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

  • Source package: [libx11]

    Details (2)
    • 2:1.8.12-1 · amd64 · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

    • 2:1.8.12-1 · arm64 · trixie

      Fixed · Fixed: 2:1.8.6-1

      dsa · libx11 · debian · 13

Observed:

References