Advisory

DEBIAN-CVE-2026-31806

Also known as: CVE-2026-31806

Summary

The record has no summary.

Details

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, the gdi_surface_bits() function processes SURFACE_BITS_COMMAND messages sent by the RDP server. When the command is handled using NSCodec, the bmp.width and bmp.height values provided by the server are not properly validated against the actual desktop dimensions. A malicious RDP server can supply crafted bmp.width and bmp.height values that exceed the expected surface size. Because these values are used during bitmap decoding and memory operations without proper bounds checking, this can lead to a heap buffer overflow. Since the attacker can also control the associated pixel data transmitted by the server, the overflow may be exploitable to overwrite adjacent heap memory. This vulnerability is fixed in 3.24.0.

Severity

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

Dates

Published
2026-03-13 19:54 UTC
Modified
2026-10-01 03:02 UTC

Affected packages and fixes

freerdp2

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

freerdp3

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.15.0+dfsg-2.1+deb13u2 (ecosystem)

Fixed versions

3.15.0+dfsg-2.1+deb13u2

Fix

  • Fixed version 3.15.0+dfsg-2.1+deb13u2
    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.

freerdp3

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.24.0+dfsg-1 (ecosystem)

Fixed versions

3.24.0+dfsg-1

Fix

  • Fixed version 3.24.0+dfsg-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