Windows DWM: 0x90 rounding undersizes a shared command buffer
A local caller can provide an unaligned DirectComposition command-buffer length that DWM rounds down for allocation but preserves for copying, causing a heap overwrite in the high-integrity desktop compositor process.
- Product
- Windows DWM Core Library (dwmcore.dll)
- Vendor
- Microsoft
- Affected
- Supported Windows 10, Windows 11, Windows Server 2019, and Windows Server 2022 branches listed by MSRC before their May 14, 2024 security updates
- Fixed in
- Microsoft security updates released May 14, 2024; for Windows 11 versions 22H2 and 23H2, KB5037771 updates the OS to builds 22621.3593 and 22631.3593
- Weakness
- CWE-122
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 14 May 2024
Classified as
References
- Microsoft Security Response Center advisory
- NVD
- Kaspersky discovery and in-the-wild analysis
- Fortra Core Security root-cause and patch analysis
- Fortra Core Security research repository
- Qianxin Threat Intelligence Center in-the-wild analysis
- Windows 11 KB5037771 release notes
- CISA Known Exploited Vulnerabilities
- CVE record on cve.org
Related CVEs
- CVE-2024-38077critical 9.82024
MadLicense: base-24 license-key heap overflow
The licensing RPC decoder allocates 21 bytes for an expected 35-character base-24 value but converts a null-terminated, attacker-controlled string of unbounded length into that buffer.
- CVE-2026-42533critical 9.22026
NGINX map regex two-pass capture clobbering
A regex-backed map can replace shared capture state during two-pass script evaluation, making the value pass outgrow its allocation or return an uninitialized heap tail.
- CVE-2026-42945high 8.12026
NGINX Rift: rewrite capture sizing heap overflow
The rewrite engine can size a captured replacement with cleared argument-escaping state, then copy it with escaping enabled and overrun the allocation.
- CVE-2023-27997critical 9.82023
XORtigate: FortiOS SSL-VPN hex-length heap overflow
The SSL-VPN parser validates a raw-byte length against the hexadecimal character count, allowing its XOR decryption loop and terminator write to continue beyond the decoded heap buffer.