CVE-2026-31806
CVE-2026-31806 · FreeRDP has a Heap Buffer Overflow in nsc_process_message() via Unchecked SURFACE_BITS_COMMAND Bitmap Dimensions
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 9.3 · Critique · EPSS 0,7% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
freerdp
- Versions du logiciel
- < 3.24.0: Concernée
Aucun correctif publié
freerdp2 Debian:12
- Versions du logiciel
- 2.10.0+dfsg1-1
- 2.10.0+dfsg1-1.1
- 2.11.2+dfsg1-1
- 2.11.2+dfsg1-1.1~exp1
- 2.11.2+dfsg1-1.1~exp2
- 2.11.5+dfsg1-1
- 2.11.7+dfsg1-1
- 2.11.7+dfsg1-2
- 2.11.7+dfsg1-3
- 2.11.7+dfsg1-4
- 2.11.7+dfsg1-5
- 2.11.7+dfsg1-6
- 2.11.7+dfsg1-6~deb12u1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
freerdp3 Debian:13
- Versions du logiciel
- 3.15.0+dfsg-2.1
- 3.15.0+dfsg-2.1+deb13u1
- Plages de versions concernées
- ECOSYSTEM: < 3.15.0+dfsg-2.1+deb13u2
Mettez à jour vers 3.15.0+dfsg-2.1+deb13u2
freerdp3 Debian:14
- Versions du logiciel
- 3.15.0+dfsg-2.1
- 3.16.0+dfsg-1
- 3.16.0+dfsg-2
- 3.17.0+dfsg-1
- 3.17.1+dfsg-1
- 3.17.1+dfsg-2
- 3.17.2+dfsg-1
- 3.17.2+dfsg-2
- 3.17.2+dfsg-3
- 3.18.0+dfsg-1
- 3.19.0+dfsg-1
- 3.19.1+dfsg-1
- 3.20.0+dfsg-1
- 3.20.2+dfsg-1
- 3.21.0+dfsg-1
- 3.22.0+dfsg-1
- 3.22.0+dfsg-1~bpo13+0
- 3.22.0+dfsg-1~bpo13+1
- 3.22.0+dfsg-3
- 3.23.0+dfsg-1
- 3.23.0+dfsg-1~bpo13+1
- Plages de versions concernées
- ECOSYSTEM: < 3.24.0+dfsg-1
Mettez à jour vers 3.24.0+dfsg-1
freerdp Ubuntu:16.04:LTS
- Versions du logiciel
- 1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1
- 1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.2
- 1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.3
- 1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.4
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
freerdp2 Ubuntu:Pro:18.04:LTS
- Versions du logiciel
- 2.0.0~git20170725.1.1648deb+dfsg1-1
- 2.0.0~git20170725.1.1648deb+dfsg1-5
- 2.0.0~git20170725.1.1648deb+dfsg1-5ubuntu1
- 2.0.0~git20170725.1.1648deb+dfsg1-5ubuntu2
- 2.0.0~git20170725.1.1648deb+dfsg1-6
- 2.0.0~git20170725.1.1648deb+dfsg1-6build1
- 2.0.0~git20170725.1.1648deb+dfsg1-7
- 2.0.0~git20170725.1.1648deb+dfsg1-7ubuntu0.1
- 2.1.1+dfsg1-0ubuntu0.18.04.1
- 2.2.0+dfsg1-0ubuntu0.18.04.1
- 2.2.0+dfsg1-0ubuntu0.18.04.2
- 2.2.0+dfsg1-0ubuntu0.18.04.3
- 2.2.0+dfsg1-0ubuntu0.18.04.4
- 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1
- 2.2.0+dfsg1-0ubuntu0.18.04.4+esm2
- 2.2.0+dfsg1-0ubuntu0.18.04.4+esm3
- 2.2.0+dfsg1-0ubuntu0.18.04.4+esm4
- 2.2.0+dfsg1-0ubuntu0.18.04.4+esm5
- 2.2.0+dfsg1-0ubuntu0.18.04.4+esm6
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
freerdp Ubuntu:18.04:LTS
- Versions du logiciel
- 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1
- 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1
- 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
freerdp2 Ubuntu:Pro:20.04:LTS
- Versions du logiciel
- 2.0.0~git20190204.1.2693389a+dfsg1-1
- 2.0.0~git20190204.1.2693389a+dfsg1-2
- 2.0.0~git20190204.1.2693389a+dfsg1-2build1
- 2.0.0~git20190204.1.2693389a+dfsg1-2build2
- 2.1.1+dfsg1-0ubuntu0.20.04.1
- 2.2.0+dfsg1-0ubuntu0.20.04.1
- 2.2.0+dfsg1-0ubuntu0.20.04.2
- 2.2.0+dfsg1-0ubuntu0.20.04.3
- 2.2.0+dfsg1-0ubuntu0.20.04.4
- 2.2.0+dfsg1-0ubuntu0.20.04.5
- 2.2.0+dfsg1-0ubuntu0.20.04.6
- 2.6.1+dfsg1-0ubuntu0.20.04.1
- 2.6.1+dfsg1-0ubuntu0.20.04.2
- 2.6.1+dfsg1-0ubuntu0.20.04.2+esm1
- 2.6.1+dfsg1-0ubuntu0.20.04.2+esm2
- 2.6.1+dfsg1-0ubuntu0.20.04.2+esm3
- 2.6.1+dfsg1-0ubuntu0.20.04.2+esm4
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
freerdp2 Ubuntu:22.04:LTS
- Versions du logiciel
- 2.3.0+dfsg1-2build1
- 2.3.0+dfsg1-2ubuntu1
- 2.3.0+dfsg1-2ubuntu2
- 2.4.1+dfsg1-1
- 2.4.1+dfsg1-1ubuntu1
- 2.4.1+dfsg1-1ubuntu2
- 2.5.0+dfsg1-1
- 2.6.0+dfsg1-1
- 2.6.1+dfsg1-1
- 2.6.1+dfsg1-3
- 2.6.1+dfsg1-3ubuntu1
- 2.6.1+dfsg1-3ubuntu2
- 2.6.1+dfsg1-3ubuntu2.1
- 2.6.1+dfsg1-3ubuntu2.2
- 2.6.1+dfsg1-3ubuntu2.3
- 2.6.1+dfsg1-3ubuntu2.4
- 2.6.1+dfsg1-3ubuntu2.5
- 2.6.1+dfsg1-3ubuntu2.6
- 2.6.1+dfsg1-3ubuntu2.7
- 2.6.1+dfsg1-3ubuntu2.8
- 2.6.1+dfsg1-3ubuntu2.9
- 2.6.1+dfsg1-3ubuntu2.10
- 2.6.1+dfsg1-3ubuntu2.11
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
freerdp3 Ubuntu:24.04:LTS
- Versions du logiciel
- 3.4.0+dfsg1-0ubuntu2
- 3.4.0+dfsg1-0ubuntu3
- 3.4.0+dfsg1-0ubuntu4
- 3.5.0+dfsg1-0ubuntu1
- 3.5.1+dfsg1-0ubuntu1
- 3.5.1+dfsg1-0ubuntu1.1
- 3.5.1+dfsg1-0ubuntu1.2
- 3.5.1+dfsg1-0ubuntu1.4
- 3.5.1+dfsg1-0ubuntu1.5
- 3.5.1+dfsg1-0ubuntu1.6
- Plages de versions concernées
- ECOSYSTEM: < 3.30.0+dfsg-0ubuntu0.24.04.1
Mettez à jour vers 3.30.0+dfsg-0ubuntu0.24.04.1
freerdp2 Ubuntu:Pro:24.04:LTS
- Versions du logiciel
- 2.10.0+dfsg1-1.1ubuntu1
- 2.11.2+dfsg1-1
- 2.11.2+dfsg1-1build1
- 2.11.2+dfsg1-1build3
- 2.11.5+dfsg1-1build1
- 2.11.5+dfsg1-1build2
- 2.11.5+dfsg1-1ubuntu0.1~esm1
- 2.11.5+dfsg1-1ubuntu0.1~esm2
- 2.11.5+dfsg1-1ubuntu0.1~esm3
- 2.11.5+dfsg1-1ubuntu0.1~esm4
- 2.11.5+dfsg1-1ubuntu0.1~esm5
- 2.11.5+dfsg1-1ubuntu0.1~esm6
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
freerdp3 Ubuntu:25.10
- Versions du logiciel
- 3.14.0+dfsg-1ubuntu1
- 3.15.0+dfsg-2.1
- 3.16.0+dfsg-1ubuntu1
- 3.16.0+dfsg-2
- 3.16.0+dfsg-2ubuntu0.1
- 3.16.0+dfsg-2ubuntu0.3
- 3.16.0+dfsg-2ubuntu0.4
- 3.16.0+dfsg-2ubuntu0.5
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rrqm-46rj-cmx2
- https://github.com/FreeRDP/FreeRDP/commit/83d9aedea278a74af3e490ff5eeb889c016dbb2b
- https://access.redhat.com/security/cve/CVE-2026-31806
- https://bugzilla.redhat.com/show_bug.cgi?id=2447376
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31806.json
- https://access.redhat.com/errata/RHSA-2026:11323
- https://access.redhat.com/errata/RHSA-2026:6743
- https://access.redhat.com/errata/RHSA-2026:6799
- https://access.redhat.com/errata/RHSA-2026:19033
- https://access.redhat.com/errata/RHSA-2026:6918
- https://access.redhat.com/errata/RHSA-2026:10734
- https://access.redhat.com/errata/RHSA-2026:10735
- https://access.redhat.com/errata/RHSA-2026:10951
- https://access.redhat.com/errata/RHSA-2026:10076
- https://access.redhat.com/errata/RHSA-2026:9640
- https://access.redhat.com/errata/RHSA-2026:9641
- https://access.redhat.com/errata/RHSA-2026:6958
- https://access.redhat.com/errata/RHSA-2026:6727
- https://access.redhat.com/errata/RHSA-2026:6340
- https://nvd.nist.gov/vuln/detail/CVE-2026-31806