CVE-2026-33986 PUBLISHED

FreeRDP: H.264 YUV Buffer Dimension Desync - Heap OOB Write

Assigner: GitHub_M
Reserved: 24.03.2026 Published: 30.03.2026 Updated: 31.03.2026

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in yuv_ensure_buffer() in libfreerdp/codec/h264.c, h264->width and h264->height are updated before the reallocation loop. If any winpr_aligned_recalloc() call fails, the function returns FALSE but width/height are already inflated. This issue has been patched in version 3.24.2.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 7.5

Product Status

Vendor FreeRDP
Product FreeRDP
Versions
  • Version < 3.24.2 is affected

References

Problem Types

  • CWE-122: Heap-based Buffer Overflow CWE
  • CWE-131: Incorrect Calculation of Buffer Size CWE