Skip to content
Memory corruption Advisory Advanced CVE-2016-0279

IBM Domino KeyView PDF Filter BaseFont Code Execution Vulnerability

A heap buffer overflow exists in the PDF filter of KeyView when parsing a malformed BaseFont object, caused by an unchecked string copy. An attacker could exploit this to execute arbitrary code remotely by sending a crafted PDF as an email attachment.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A heap buffer overflow vulnerability present in the PDF filter of KeyView as used by Domino can lead to arbitrary code execution.

Aleksandar Nikolic, on Cisco Talos

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 use of strcpy without bounds checking when copying BaseFont data into a fixed-size heap buffer.

Impact

An attacker could execute arbitrary code remotely in the context of the process handling the PDF.

What the attacker needed

Victim opens a crafted PDF; or sends it as email attachment

How it was found

  1. Create a PDF with a Font object that references another object for BaseFont data.
  2. Make the BaseFont object contain an overly long string (at least 229 bytes).
  3. Open the PDF with the KeyView filter or send it as an email attachment to a Domino mail server.
  4. The parser processes the font and triggers the overflow, causing a crash or potential code execution.

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 heap buffer overflow happens when a program copies more data into a memory area than it can hold, overwriting nearby data. Here, a PDF file with a specially crafted font name causes the program to copy too much data, which can crash it or 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.

More by Aleksandar Nikolic

View all

147 more disclosed reports, best first.

More from Cisco Talos

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.