# CVE-2026-33986: FreeRDP: H.264 YUV Buffer Dimension Desync - Heap OOB Write

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-03-30T21:43:21.951Z
- Modified: 2026-07-15T02:20:27.440Z
- Weaknesses: CWE-122, CWE-131
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 3.24.2; before 3.24.2
- freerdp: no versions given

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-h6qw-wxvm-hf97> (patch, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/commit/f6e43e208958140074ae9bb93cd0c9045a371c77> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-33986> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2453221> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33986.json>

## Sources

- CVE List: [CVE-2026-33986](https://www.cve.org/CVERecord?id=CVE-2026-33986), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-33986](https://nvd.nist.gov/vuln/detail/CVE-2026-33986), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-33986 · Whole record: https://cve.day/CVE-2026-33986.json · Rebuilt by cve.day 2026-11-25T22:59:17.541Z
