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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-30 · Modified: 2026-07-15
- Aliases: UBUNTU-CVE-2026-33986, DEBIAN-CVE-2026-33986, ALPINE-CVE-2026-33986
- Record: https://cvemate.com/vulnerability/CVE-2026-33986 · JSON: https://cvemate.com/vulnerability/CVE-2026-33986/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.311%, percentile 25.869%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine freerdp (Alpine Linux): \< 3.24.2-r0
- debian freerdp2 (Debian): All versions (No fix recorded)
- debian freerdp3 (Debian): \< 3.15.0+dfsg-2.1+deb13u2 \| \< 3.24.2+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.30.0+dfsg-0ubuntu0.24.04.1 \| All versions (No fix recorded)
- freerdp freerdp: \< 3.24.2

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-h6qw-wxvm-hf97>
- <https://github.com/FreeRDP/FreeRDP/commit/f6e43e208958140074ae9bb93cd0c9045a371c77>
- <https://access.redhat.com/security/cve/CVE-2026-33986>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2453221>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33986.json>
- <https://ubuntu.com/security/CVE-2026-33986>
- <https://www.cve.org/CVERecord?id=CVE-2026-33986>
- <https://ubuntu.com/security/notices/USN-8561-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-33986>
- <https://security.alpinelinux.org/vuln/CVE-2026-33986>

---

Data as of 2026-12-05T07:09:11.928Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
