CVE-2025-49179

NameCVE-2025-49179
DescriptionA flaw was found in the X Record extension. The RecordSanityCheckRegisterClients function does not check for an integer overflow when computing request length, which allows a client to bypass length checks.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4230-1, DSA-5947-1
Debian Bugs1108369

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xorg-server (PTS)bullseye2:1.20.11-1+deb11u13vulnerable
bullseye (security)2:1.20.11-1+deb11u16fixed
bookworm2:21.1.7-3+deb12u9vulnerable
bookworm (security)2:21.1.7-3+deb12u10fixed
sid, trixie2:21.1.16-1.3fixed
xwayland (PTS)bookworm2:22.1.9-1vulnerable
sid, trixie2:24.1.6-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xorg-serversourcebullseye2:1.20.11-1+deb11u16DLA-4230-1
xorg-serversourcebookworm2:21.1.7-3+deb12u10DSA-5947-1
xorg-serversource(unstable)2:21.1.16-1.2
xwaylandsource(unstable)(unfixed)1108369

Notes

[bookworm] - xwayland <ignored> (Minor issue; Xwayland shouldn't be running as root)
Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/2bde9ca49a8fd9a1e6697d5e7ef837870d66f5d4

Search for package or bug name: Reporting problems