Advisory

UBUNTU-CVE-2023-3138

Also known as: CVE-2023-3138

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2023-06-15 00:00 UTC
Modified
2026-04-22 14:06 UTC

Affected packages and fixes

libx11

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:1.6.9-2ubuntu1.5 (ecosystem)

Fixed versions

2:1.6.9-2ubuntu1.5

Fix

  • Fixed version 2:1.6.9-2ubuntu1.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libx11

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:1.7.5-1ubuntu0.2 (ecosystem)

Fixed versions

2:1.7.5-1ubuntu0.2

Fix

  • Fixed version 2:1.7.5-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences