Skip to content
Memory corruption Advisory Advanced CVE-2025-27163

Adobe Acrobat Reader Font hMetric Out-Of-Bounds Read Vulnerability

An out-of-bounds read in Adobe Acrobat Reader's font parsing allows an attacker to read arbitrary memory by crafting a font file with inconsistent hmtx table length and numberOfHMetrics. This could lead to disclosure of sensitive information.

KPC Follow

Originally disclosed on Cisco Talos

Medium 6.5 View original

An out-of-bounds read vulnerability exists in the Font functionality of Adobe Acrobat Reader 2024.005.20320. A specially crafted font file embedded into a PDF can trigger this vulnerability which can lead to disclosure of sensitive information.

KPC, 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

The hmtx table length is not validated against the numberOfHMetrics field, so the code reads beyond the table's bounds.

Impact

An attacker could read arbitrary memory of the process, potentially disclosing sensitive information that could aid further exploitation and mitigation bypass.

What the attacker needed

Victim opens a malicious PDF

The fix

The vendor released a patch on 2025-03-11.

How it was found

  1. Create a PDF with an embedded OpenType font containing hhea and hmtx tables.
  2. Set the numberOfHMetrics field in the hhea table to a value larger than the hmtx table length divided by 4.
  3. Open the PDF in Adobe Acrobat Reader to trigger the out-of-bounds read.

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 PDF can contain a font file. The font file has a table that lists character widths. The program reads past the end of that table because it trusts a length value without checking it against the actual table size. This lets an attacker read memory that they should not be able to see.

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 KPC

View all

102 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.