Advisory

DEBIAN-CVE-2026-50256

Also known as: CVE-2026-50256

Summary

The record has no summary.

Details

A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. A mismatch between the X server and the libXfont2 library's maximum font name length can cause a stack buffer overflow during font alias resolution. The server allocates a 256 byte stack buffer but libXfont2's alias target name length is 1024 bytes. A font alias name between 257 and 1023 bytes causes the X server to copy that name into the undersized stack buffer without further checks. This may be used to crash the server, or for privilege escalation if the X server runs as root.

Severity

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

Dates

Published
2026-06-05 12:16 UTC
Modified
2026-11-05 10:01 UTC

Affected packages and fixes

xorg-server

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2:21.1.7-3+deb12u13 (ecosystem)

Fixed versions

2:21.1.7-3+deb12u13

Fix

  • Fixed version 2:21.1.7-3+deb12u13
    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.

xorg-server

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2:21.1.16-1.3+deb13u3 (ecosystem)

Fixed versions

2:21.1.16-1.3+deb13u3

Fix

  • Fixed version 2:21.1.16-1.3+deb13u3
    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.

xorg-server

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2:21.1.23-1 (ecosystem)

Fixed versions

2:21.1.23-1

Fix

  • Fixed version 2:21.1.23-1
    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.

xwayland

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

xwayland

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

xwayland

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2:24.1.12-1 (ecosystem)

Fixed versions

2:24.1.12-1

Fix

  • Fixed version 2:24.1.12-1
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences