FreeRDP before 3.33.0 Heap Out-of-Bounds Write via H.264 Encoder Height Change
- State
- Published
- Severity
- 8.3 High
- Published
- Nov 25, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 25, 2026
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.
| Product | Versions |
|---|---|
| FreeRDP FreeRDP | before 3.33.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.3 High | VulnCheck | |
| 3.1 | 7.4 High | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
References
- GitHub Security Advisory (GHSA-q8p6-8mmj-j4ph)Vendor Advisory
- https://github.com/FreeRDP/FreeRDP/commit/58eed374e5cc0547308890ea4dcd3f75d67f81c1Patch
- FreeRDP 3.33.0 Release NotesRelease Notes
- https://github.com/FreeRDP/FreeRDP/blob/3.32.2/libfreerdp/codec/h264.c#L796Technical Details
- VulnCheck Advisory: FreeRDP before 3.33.0 Heap Out-of-Bounds Write via H.264 Encoder Height ChangeThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.