Adobe Acrobat Reader Font CPAL numColorRecords out-of-bounds read vulnerability
An out-of-bounds read vulnerability exists in Adobe Acrobat Reader's handling of the CPAL table in embedded OpenType fonts, where insufficient validation of the numColorRecords field allows reading beyond the allocated buffer. An attacker could trick a user into opening a malicious PDF to disclose sensitive information.
An out-of-bounds read vulnerability exists in the Font functionality of Adobe Acrobat Reader 2023.008.20533.A specially crafted font file embedded into a PDF can trigger this vulnerability, which can lead to disclosure of sensitive information. An attacker needs to trick the user into opening the malicious file to…
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
Likely the validation of numColorRecords against the maximum colorRecordIndex plus numPaletteEntries is insufficient, allowing the buffer size calculation to be smaller than the data later read.
Impact
An attacker could disclose sensitive information by tricking a user into opening a malicious PDF, though the CVSS score indicates confidentiality impact only.
What the attacker needed
Victim opens a malicious PDF; specially crafted font embedded in PDF
The fix
The vulnerability was not properly patched to cover all cases, so it should be fixed by adding proper validation of numColorRecords against the maximum colorRecordIndex plus numPaletteEntries.
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.
This bug is in how Adobe Acrobat Reader reads a special colour table inside fonts embedded in PDFs. The program trusts a number in the file that says how many colour records there are, but doesn't check it properly, so it can read past the end of a memory buffer. That could let an attacker see data that should be private, but only if the victim opens a malicious PDF.
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.