Skip to content
Memory corruption Write-up Advanced

(CVE-2019-8221) Adobe Reader Type Confusion in getColorConvertAction

A type confusion flaw exists in Adobe Reader's EScript plugin because the colorConvertPage function does not verify the object type. An attacker could exploit this to cause memory corruption, potentially leading to code execution.

starlabs.sg

Published on starlabs.sg

Adobe Acrobat is a family of application software and Web services developed by Adobe Inc. to view, create, manipulate, print and manage files in Portable Document Format (PDF).

The author, on starlabs.sg

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The colorConvertPage function does not validate the type of the object passed to it, leading to type confusion.

Impact

This could lead to memory corruption and potentially arbitrary code execution.

What the attacker needed

Victim opens a crafted PDF

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 write-up has not been written yet. The Original tab links to the source.

A type confusion bug happens when a program treats one kind of data as if it were a different kind. Here, a function inside Adobe Reader's scripting plugin fails to check what type of object it is given, so it may read or write memory incorrectly. This can crash the program or, in the worst case, let an attacker run their own code.

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.

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.