p PatchFirst

CVE-2023-3138

CVE-2023-3138

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 1.7% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libx11

    Versions
    • libX11 1.8.6: Affected

    No fix published

  • libx11 Debian:12

    Versions
    • 2:1.8.4-2
    Affected ranges
    • ECOSYSTEM: < 2:1.8.4-2+deb12u1

    Update to 2:1.8.4-2+deb12u1

  • libx11 Debian:13

    Affected ranges
    • ECOSYSTEM: < 2:1.8.6-1

    Update to 2:1.8.6-1

  • libx11 Debian:14

    Affected ranges
    • ECOSYSTEM: < 2:1.8.6-1

    Update to 2:1.8.6-1

  • libx11 Ubuntu:Pro:14.04:LTS

    Versions
    • 2:1.6.1-1ubuntu1
    • 2:1.6.1-1ubuntu2
    • 2:1.6.2-1ubuntu1
    • 2:1.6.2-1ubuntu2
    • 2:1.6.2-1ubuntu2.1
    • 2:1.6.2-1ubuntu2.1+esm1
    • 2:1.6.2-1ubuntu2.1+esm2
    Affected ranges
    • ECOSYSTEM: < 2:1.6.2-1ubuntu2.1+esm3

    Update to 2:1.6.2-1ubuntu2.1+esm3

  • libx11 Ubuntu:Pro:16.04:LTS

    Versions
    • 2:1.6.3-1ubuntu2
    • 2:1.6.3-1ubuntu2.1
    • 2:1.6.3-1ubuntu2.2
    • 2:1.6.3-1ubuntu2.2+esm1
    Affected ranges
    • ECOSYSTEM: < 2:1.6.3-1ubuntu2.2+esm2

    Update to 2:1.6.3-1ubuntu2.2+esm2

  • libx11 Ubuntu:Pro:18.04:LTS

    Versions
    • 2:1.6.4-3
    • 2:1.6.4-3ubuntu0.1
    • 2:1.6.4-3ubuntu0.2
    • 2:1.6.4-3ubuntu0.3
    • 2:1.6.4-3ubuntu0.4
    Affected ranges
    • ECOSYSTEM: < 2:1.6.4-3ubuntu0.4+esm1

    Update to 2:1.6.4-3ubuntu0.4+esm1

  • libx11 Ubuntu:20.04:LTS

    Versions
    • 2:1.6.8-1
    • 2:1.6.9-2
    • 2:1.6.9-2ubuntu1
    • 2:1.6.9-2ubuntu1.1
    • 2:1.6.9-2ubuntu1.2
    Affected ranges
    • ECOSYSTEM: < 2:1.6.9-2ubuntu1.5

    Update to 2:1.6.9-2ubuntu1.5

  • libx11 Ubuntu:22.04:LTS

    Versions
    • 2:1.7.2-1
    • 2:1.7.2-2
    • 2:1.7.2-2build1
    • 2:1.7.5-1
    Affected ranges
    • ECOSYSTEM: < 2:1.7.5-1ubuntu0.2

    Update to 2:1.7.5-1ubuntu0.2

Original sources

Check your server →