Disclosed vulnerabilities
Fixed: Feb 23, 2026
CVE-2026-27950 Published: Feb 26, 2026

Use-after-free in FreeRDP SDL2

5.5 Medium Severity
Ori Ron Reported by Checkmarx Zero

Summary

The advisory GHSA-j893-9wg8-33rc (CVE-2026-24680) describes a heap use-after-free triggered in the SDL pointer handling flow (sdl_Pointer_New → pointer_free) affecting FreeRDP versions prior to 3.22.0.

However:

  • The vulnerable execution flow referenced in the advisory’s Details section exists in the SDL2 implementation.
  • The fix appears to have been applied only to the SDL3 code path (commit c42ecbd).
  • In the SDL2 implementation, the pointer is not nulled after free (sdl_pointer.cpp L63–64).

This creates a situation where the advisory suggests the vulnerability is fully resolved, while builds or environments still using SDL2 may retain the vulnerable logic.

Product

The vulnerability affects FreeRDP version <= 3.22.0

Impact

A malicious server can trigger a client‑side heap use after free, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout.

Remediation

The vulnerability is fixed in commit 5f62aa1

Credit

This issue was discovered and reported by Checkmarx Senior Security Researcher Ori Ron.

Resources

  1. CVE-2026-27950
  2. GHSA-rvfg-86cr-5r6p

Stay connected and never miss a research update!