Skip to content
Memory corruption Advisory Advanced CVE-2020-11096

GHSL-2020-107: OOB read vulnerability in FreeRDP update_read_cache_bitmap_v3_order - CVE-2020-11096

The FreeRDP function [redacted] uses an attacker-controlled bitsPerPixelId to index a fixed-size array, causing an out-of-bounds read. An attacker could potentially read memory outside the array, though the report only states this may lead to an out-of-bounds read.

antonio-morales Follow

Originally disclosed on GitHub Security Lab

A global out-of-bounds (OOB) read vulnerability has been detected in updatereadcachebitmapv3order due to global array access with attacker-controlled index.

antonio-morales, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The code fails to validate that the attacker-controlled bitsPerPixelId is within the bounds of the CBR23_BPP array before using it as an index.

Impact

This issue may lead to an out-of-bounds read.

What the attacker needed

Attacker can send crafted RDP data

The fix

The bug was fixed by the vendor in a patch released on 06/22/2020.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A program reads a number from the network and uses it to pick an item from a fixed list. If the number is too large, the program reads past the end of the list, which can expose memory contents or crash. This is called an out-of-bounds read.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by antonio-morales

View all

45 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.