CVE-2026-137077
FreeRDP before 3.33.0 contains a heap out-of-bounds write in h264_context_reset() in libfreerdp/codec/h264.c, which stores new dimensions before the YUV planes…
Impact
FreeRDP before 3.33.0 contains a heap out-of-bounds write in h264_context_reset() in libfreerdp/codec/h264.c, which stores new dimensions before the YUV planes are reallocated. Remote peers can trigger surface height increases so avc420_compress() writes taller frames past undersized luma and chroma planes, corrupting heap memory or crashing the process.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data or systems being changed, high risk of outages.
Affected products (FreeRDP)
| Product | Affected versions |
|---|---|
| FreeRDP | before 3.33.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q8p6-8mmj-j4ph
- https://github.com/FreeRDP/FreeRDP/commit/58eed374e5cc0547308890ea4dcd3f75d67f81c1
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.33.0
- https://github.com/FreeRDP/FreeRDP/blob/3.32.2/libfreerdp/codec/h264.c#L796
- https://www.vulncheck.com/advisories/freerdp-before-3.33.0-heap-out-of-bounds-write-via-h-264-encoder-height-change
- https://github.com/advisories/GHSA-9qg5-6hg3-g2qc
- https://nvd.nist.gov/vuln/detail/CVE-2026-137077