CVE-2026-33984
Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in resize_vbar_entry() in libfreerdp/codec/clear.c, vBarEntry->size is updated to vBarEntry->count before the winpr_aligned_recalloc() call. If realloc fails, size is inflated while pixels still points to the old, smaller buffer. On a subsequent call where count <= size (the inflated value), realloc is skipped. The caller then writes count * bpp bytes of attacker-controlled pixel data into the undersized buffer, causing a heap buffer overflow. This issue has been patched in version 3.24.2.
Description as published by the source, in English.
Key facts
- Published
- 2026-03-30
- Last modified
- 2026-07-15
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.4 %
higher than 33 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Freerdp | Freerdp | < 3.24.2 | Affected |
Weakness type
-
CWE-122: Heap-based Buffer Overflow
The product writes past the end of a buffer that was allocated on the heap.
-
CWE-131: Incorrect Calculation of Buffer Size
The product does not correctly calculate the size to be used when allocating a buffer.
References
- https://github.com/FreeRDP/FreeRDP/commit/dc7fdb165095139be779a4000199bc1706b06ad5
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8469-2xcx-frf6
- https://access.redhat.com/errata/RHSA-2026:10709
- https://access.redhat.com/errata/RHSA-2026:11332
- https://access.redhat.com/errata/RHSA-2026:11333
- https://access.redhat.com/errata/RHSA-2026:11336
- https://access.redhat.com/errata/RHSA-2026:11649
- https://access.redhat.com/errata/RHSA-2026:11651
- https://access.redhat.com/errata/RHSA-2026:12359
- https://access.redhat.com/errata/RHSA-2026:12388
- https://access.redhat.com/errata/RHSA-2026:19033
- https://access.redhat.com/errata/RHSA-2026:19349
- https://access.redhat.com/errata/RHSA-2026:8457
- https://access.redhat.com/errata/RHSA-2026:8458
- https://access.redhat.com/errata/RHSA-2026:8945
- https://access.redhat.com/errata/RHSA-2026:9656
- https://access.redhat.com/security/cve/CVE-2026-33984
- https://bugzilla.redhat.com/show_bug.cgi?id=2453219
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33984.json
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.