CVE-2026-23531: FreeRDP has heap-buffer-overflow in clear_decompress

Published Jan 19, 2026
·
Updated

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, in ClearCodec, when glyphData is present, cleardecompress calls freerdpimagecopynooverlap without validating the destination rectangle, allowing an out-of-bounds read/write via crafted RDPGFX surface updates. A malicious server can trigger a client‑side heap buffer overflow, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout. Version 3.21.0 contains a patch for the issue.

Affected Software

18 affected componentsFixes available
FreeRDP freerdp<3.21.0
FreeRDP freerdp<3.21.0
ubuntu/freerdp*
ubuntu/freerdp2<2.2.0+dfsg1-0ubuntu0.18.04.4+esm3
2.2.0+dfsg1-0ubuntu0.18.04.4+esm3
ubuntu/freerdp*
ubuntu/freerdp2<2.6.1+dfsg1-0ubuntu0.20.04.2+esm1
2.6.1+dfsg1-0ubuntu0.20.04.2+esm1
ubuntu/freerdp2<2.6.1+dfsg1-3ubuntu2.8
2.6.1+dfsg1-3ubuntu2.8
ubuntu/freerdp3<3.5.1+dfsg1-0ubuntu1.4
3.5.1+dfsg1-0ubuntu1.4
ubuntu/freerdp2<2.11.5+dfsg1-1ubuntu0.1~esm3
2.11.5+dfsg1-1ubuntu0.1~esm3
ubuntu/freerdp3<3.16.0+dfsg-2ubuntu0.3
3.16.0+dfsg-2ubuntu0.3
alpine/freerdp<3.22.0-r0
3.22.0-r0
alpine/freerdp<3.21.0-r0
3.21.0-r0
alpine/freerdp<3.21.0-r0
3.21.0-r0
debian/freerdp2<2.11.7+dfsg1-6~deb12u2
2.11.7+dfsg1-6~deb12u2
debian/freerdp3<3.15.0+dfsg-2.1+deb13u1
3.15.0+dfsg-2.1+deb13u1
debian/freerdp3<3.21.0+dfsg-1
3.21.0+dfsg-1
debian/freerdp2<=2.11.7+dfsg1-6~deb12u1
2.11.7+dfsg1-6~deb12u2
debian/freerdp3
3.15.0+dfsg-2.1+deb13u13.21.0+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/freerdp2 to a version that resolves this vulnerability.

    Fixed in 2.2.0+dfsg1-0ubuntu0.18.04.4+esm3
  2. Upgrade

    Upgrade ubuntu/freerdp2 to a version that resolves this vulnerability.

    Fixed in 2.6.1+dfsg1-0ubuntu0.20.04.2+esm1
  3. Upgrade

    Upgrade ubuntu/freerdp2 to a version that resolves this vulnerability.

    Fixed in 2.6.1+dfsg1-3ubuntu2.8
  4. Upgrade

    Upgrade ubuntu/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.5.1+dfsg1-0ubuntu1.4
  5. Upgrade

    Upgrade ubuntu/freerdp2 to a version that resolves this vulnerability.

    Fixed in 2.11.5+dfsg1-1ubuntu0.1~esm3
  6. Upgrade

    Upgrade ubuntu/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.16.0+dfsg-2ubuntu0.3
  7. Upgrade

    Upgrade alpine/freerdp to a version that resolves this vulnerability.

    Fixed in 3.22.0-r0
  8. Upgrade

    Upgrade alpine/freerdp to a version that resolves this vulnerability.

    Fixed in 3.21.0-r0
  9. Upgrade

    Upgrade debian/freerdp2 to a version that resolves this vulnerability.

    Fixed in 2.11.7+dfsg1-6~deb12u2
  10. Upgrade

    Upgrade debian/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.15.0+dfsg-2.1+deb13u1
  11. Upgrade

    Upgrade debian/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.21.0+dfsg-1
  12. Upgrade

    Upgrade debian/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.15.0+dfsg-2.1+deb13u1Fixed in 3.21.0+dfsg-1
  13. Upgrade

    Upgrade FreeRDP to a version that resolves this vulnerability.

    Fixed in 3.21.0

Event History

Jan 19, 2026
CVE Published
via MITRE·05:01 PM
Data Sourced
via MITRE·05:01 PM
DescriptionWeakness
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software
Jan 28, 2026
Data Sourced
via NVD·06:51 PM
Affected Software
Updated
via NVD·06:51 PM
Severity
Event
via NVD·06:51 PM
Jan 29, 2026
Event
via FIRST·12:00 AM
Jun 30, 2026
Updated
via NVD·03:17 AM
SeverityWeakness
Dec 3, 2026
Updated
via OSV·11:33 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-23531?

CVE-2026-23531 has a high severity rating due to its potential for exploiting heap-buffer-overflow vulnerabilities.

2

How do I fix CVE-2026-23531?

To fix CVE-2026-23531, update FreeRDP to version 3.21.0 or later.

3

What are the consequences of exploiting CVE-2026-23531?

Exploiting CVE-2026-23531 can lead to unauthorized access, data corruption, or system crashes.

4

In which versions of FreeRDP does CVE-2026-23531 exist?

CVE-2026-23531 affects FreeRDP versions prior to 3.21.0.

5

What component of FreeRDP is affected by CVE-2026-23531?

CVE-2026-23531 specifically affects the ClearCodec component in FreeRDP's clear_decompress function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203