# CVE-2026-111381: FreeRDP heap buffer overflow in persistent cache v2 parser

Source: https://junglewise.ai/threats/cve-2026-111381-freerdp-before-3-32-0-contains-a-heap-buffer-overflow  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-16. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-111381 · Severity: high · CVSS 7.3 · Published 2026-10-16

FreeRDP is a remote desktop protocol client used to connect to Windows servers and desktops. A heap buffer overflow vulnerability in its persistent cache file parser allows a local attacker to corrupt memory and potentially execute arbitrary code by providing a malicious cache file, leading to application crashes or system compromise.

Technologies: [FreeRDP Project FreeRDP](https://junglewise.ai/threats/technologies/freerdp-project-freerdp). Vendors: [FreeRDP Project](https://junglewise.ai/threats/vendors/freerdp-project).

## Quick answers

**Is CVE-2026-111381 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-111381 being exploited in the wild.

**How severe is CVE-2026-111381?** High severity, with a CVSS score of 7.3, published 16 October 2026.

**Which products and versions are affected?** FreeRDP Project FreeRDP before 3.32.0.

**Is there a fix for CVE-2026-111381?** Yes: fixed in 3.32.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-111381 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-111381?** Check whether you run FreeRDP Project FreeRDP at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 3.32.0

## Technical details

An integer wraparound in the bitmap size calculation within persistent_cache_read_entry_v2 causes mismatched buffer size accounting. When an attacker crafts a malicious persistent cache v2 file with oversized width and height values, the 64-bit multiplication overflows, producing a small falsified size value that bypasses validation checks. The code then reads a fixed 16 KiB block into a buffer while tracking an incorrect size, leading to heap corruption and potential code execution. Attack requires local file access and user interaction to load the malicious cache file.

## Affected products

- FreeRDP Project FreeRDP before 3.32.0

## Timeline

- 2026-10-01: disclosed
- 2026-10-16: advisory

## References

- [https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-26cc-wjh8-hjw6](https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-26cc-wjh8-hjw6)
- [https://www.vulncheck.com/advisories/freerdp-before-3.32.0-heap-buffer-overflow-via-persistent-cache-v2-parser](https://www.vulncheck.com/advisories/freerdp-before-3.32.0-heap-buffer-overflow-via-persistent-cache-v2-parser)

## Related threats

- [FreeRDP heap buffer overflow in transport_default_read_pdu](https://junglewise.ai/threats/cve-2026-121962-freerdp-before-3-32-2-contains-a-heap-buffer-overflow-in)
- [FreeRDP use-after-free in DRDYNVC tracker race condition](https://junglewise.ai/threats/cve-2026-121961-freerdp-before-3-32-2-contains-a-use-after-free-vulnerability-in)
- [FreeRDP infinite loop in WebSocket frame handling](https://junglewise.ai/threats/cve-2026-121959-freerdp-before-3-32-2-contains-an-infinite-loop-vulnerability-in)
- [FreeRDP server denial of service in RDP peer input parsing](https://junglewise.ai/threats/cve-2026-121951-freerdp-3-0-0-before-3-32-2-server-side-rdp-peer-input-parsing)
- [FreeRDP NULL pointer dereference in RDPGFX ResetGraphics](https://junglewise.ai/threats/cve-2026-121402-freerdp-before-3-32-2-contains-a-null-pointer-dereference)
