Description
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.
Metrics
CVSS 3.1 9.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.33.0 |
References
- https://github.com/FreeRDP/FreeRDP/blob/3.32.2/libfreerdp/codec/h264.c#L796
- https://github.com/FreeRDP/FreeRDP/commit/58eed374e5cc0547308890ea4dcd3f75d67f81c1
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.33.0
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q8p6-8mmj-j4ph
- https://www.vulncheck.com/advisories/freerdp-before-3.33.0-heap-out-of-bounds-write-via-h-264-encoder-height-change
Timeline
- Published
- Nov 25, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Analyzed