CVE-2026-31897: FreeRDP has an out-of-bounds read in `freerdp_bitmap_decompress_planar`

Published Mar 13, 2026
·
Updated

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, there is an out-of-bounds read in freerdpbitmapdecompressplanar when SrcSize is 0. The function dereferences srcp (which points to pSrcData) without first verifying that SrcSize >= 1. When SrcSize is 0 and pSrcData is non-NULL, this reads one byte past the end of the source buffer. This vulnerability is fixed in 3.24.0.

Affected Software

2 affected components
FreeRDP freerdp<3.24.0
FreeRDP freerdp<3.24.0

Event History

Mar 13, 2026
CVE Published
via MITRE·05:42 PM
Data Sourced
via MITRE·05:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:54 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 22, 58183
Event
via FIRST·09:50 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-31897?

CVE-2026-31897 is categorized as a medium severity vulnerability due to the potential for out-of-bounds read leading to application crashes.

2

How do I fix CVE-2026-31897?

To fix CVE-2026-31897, update FreeRDP to version 3.24.0 or later where the vulnerability is resolved.

3

What causes the out-of-bounds read in CVE-2026-31897?

The out-of-bounds read in CVE-2026-31897 is caused by the `freerdp_bitmap_decompress_planar` function attempting to dereference a pointer when the source size is zero.

4

Is my system affected by CVE-2026-31897?

Your system is affected by CVE-2026-31897 if you are using FreeRDP versions prior to 3.24.0.

5

What are the potential impacts of CVE-2026-31897?

The potential impacts of CVE-2026-31897 include application crashes and unexpected behavior in systems utilizing vulnerable versions of FreeRDP.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203