CVE-2026-114041: FreeRDP heap out-of-bounds read in RD Gateway message handler

CVE-2026-114041 · Severity: medium · CVSS 6.5 · Published 2026-10-21

FreeRDP is a remote desktop protocol client that allows users to connect to Windows servers. A flaw in the Windows build causes it to read twice the intended buffer size when processing pre-authentication messages from an RD Gateway server, potentially leaking sensitive heap memory or crashing the client. A remote attacker controlling the gateway server can exploit this without user interaction or authentication.

Technologies: FreeRDP Project FreeRDP. Vendors: FreeRDP Project.

Quick answers

Is CVE-2026-114041 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-114041 being exploited in the wild.
How severe is CVE-2026-114041?
Medium severity, with a CVSS score of 6.5, published 21 October 2026.
Which products and versions are affected?
FreeRDP Project FreeRDP before 3.32.1, Windows builds only.
Is there a fix for CVE-2026-114041?
Yes: fixed in 3.32.1. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-114041 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-114041?
Check whether you run FreeRDP Project FreeRDP at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 3.32.1

Technical details

The vulnerability is a heap out-of-bounds read in client_cli_present_gateway_message() on Windows, where a byte count is incorrectly passed as a wide-character printf precision. MSVC's %.*S format specifier interprets precision as a WCHAR count, causing it to read double the intended buffer size. The flaw occurs during RD Gateway tunnel setup when processing pre-authentication consent or service messages. A malicious gateway can leak heap memory or trigger a denial of service.

Affected products

  • FreeRDP Project FreeRDP before 3.32.1, Windows builds only

Timeline

  • 2026-10-05: disclosed
  • 2026-10-20: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.