NIXPKGS-2026-0057
published on 20 Jan 2026
by @LeSuisse Activity log
- Created automatic suggestion
- @LeSuisse accepted
- @LeSuisse published on GitHub
FreeRDP has heap-buffer-overflow in clear_decompress_bands_data
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, a client-side heap buffer overflow occurs in the ClearCodec bands decode path when crafted band coordinates allow writes past the end of the destination surface buffer. 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.
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-3frr-mp8w-4599 x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/clear.c#L878-L879 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/clear.c#L883-L884 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/clear.c#L878-L879 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/clear.c#L883-L884 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-3frr-mp8w-4599 x_refsource_CONFIRM
Affected products
FreeRDP
- ==< 3.21.0
Package maintainers
-
@peterhoeg Peter Hoeg <peter@hoeg.com>