Vulnerability · Published Mar 30, 2026 · Assigned by GitHub_M
CVE-2026-33986FreeRDP: H.264 YUV Buffer Dimension Desync - Heap OOB Write
High 7.5
In plain English
A high-severity heap buffer overflow in FreeRDP from FreeRDP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | freerdp | 3.24.2-r0 | ALPINE-CVE-2026-33986 |
| Alpine:v3.24 | freerdp | 3.24.2-r0 | ALPINE-CVE-2026-33986 |
| Debian:12 | freerdp2 | no fix listed | DEBIAN-CVE-2026-33986 |
| Debian:13 | freerdp3 | 3.15.0+dfsg-2.1+deb13u2 | DEBIAN-CVE-2026-33986 |
| Debian:14 | freerdp3 | 3.24.2+dfsg-1 | DEBIAN-CVE-2026-33986 |
| Ubuntu:22.04:LTS | freerdp2 | no fix listed | UBUNTU-CVE-2026-33986 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | USN-8561-1 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-33986 |
| Ubuntu:25.10 | freerdp3 | no fix listed | UBUNTU-CVE-2026-33986 |
| Ubuntu:26.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | USN-8561-1 |
Affected products (as reported)
Weakness: CWE-122, CWE-131 · Vector: 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 x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/f6e43e208958140074ae9bb93cd0c9045a371c77 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-33986 vdb-entry, x_refsource_REDHAT
- RHBZ#2453221 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33986.json x_sadp-csaf-vex