StackPatch is liveSee product

Back to CVE digest
CVE-2023-3138 · cross-distro fix matrix

CVE-2023-3138: 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 th

Affects 4 Linux releases across 4 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2023-3138 has a known fix. Run the listed command on that distro to remediate.

Debian bullseye

Source: Debian Security Tracker

  • libx11→ fixed in2:1.7.2-1+deb11u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y libx11

Debian bookworm

Source: Debian Security Tracker

  • libx11→ fixed in2:1.8.4-2+deb12u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y libx11

Debian trixie

Source: Debian Security Tracker

  • libx11→ fixed in2:1.8.6-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y libx11

Alpine v3.18

Source: Alpine secdb

  • libx11→ fixed in1.8.4-r4
    apk update && apk add --upgrade libx11
Are YOU affected by CVE-2023-3138?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2023-3138dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)