Cloudanix VulnDB

CVE-2022-41844

Medium · 5.5

CVSS

5.5

EPSS

0.4%

Published

Sep 30, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

Opening certain PDF files in an older version of this document viewer can make the program stop working suddenly.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Memory corruption during PDF cross-reference table parsing causes an immediate process crash in XRef::fetch when a malformed PDF is opened locally.

Why it matters to the business

Users who open crafted PDF files with the affected reader experience an abrupt application crash, interrupting document workflows and potentially requiring restarts or alternative tools.

How an attack unfolds

An attacker prepares a specially malformed PDF that triggers the crash path in XRef::fetch. The victim opens the file locally with user interaction; the reader parses the cross-reference table, hits the corruption, and terminates without further code execution or data access.

How to fix it

Migrate to a maintained PDF reader or a newer version of Xpdf if one becomes available; disable or sandbox the affected reader in environments that must process untrusted PDFs.

How to confirm the fix worked

Attempt to open known-malformed test PDFs that previously triggered the crash and confirm the reader no longer terminates unexpectedly; monitor vendor announcements for any future patched releases.

Typical attack path

  1. Craft malicious PDF targeting XRef parsing logic
  2. Deliver file via email, download link, or shared storage
  3. Victim opens file in vulnerable Xpdf reader
  4. Parser encounters malformed cross-reference data
  5. Process crashes due to memory corruption

How to detect it

Review system or application logs for unexpected terminations of the xpdf process when handling PDF files; look for crash dumps or segmentation faults originating from xpdf/XRef.cc around the fetch function.

  • xpdf process crash with signal 11 or segmentation fault
  • xpdf/XRef.cc in stack trace of core dump

What your security team should do

  • Replace Xpdf with a supported PDF viewer across the organization
  • Block or sandbox execution of the xpdf binary for untrusted files
  • Add the reader to application allow-lists only where strictly required

The record

An issue was discovered in Xpdf 4.04. There is a crash in XRef::fetch(int, int, Object*, int) in xpdf/XRef.cc, a different vulnerability than CVE-2018-16369 and CVE-2019-16088.

Affected packages

Ecosystem Package Introduced Fixed
Mageia:9 xpdf 0 4.05-1.mga9
Ubuntu:16.04:LTS ipe 0 No fix
Ubuntu:18.04:LTS ipe 0 No fix
Ubuntu:20.04:LTS ipe 0 No fix
Ubuntu:22.04:LTS ipe 0 No fix
Ubuntu:24.04:LTS ipe 0 No fix
Ubuntu:24.10 ipe 0 No fix
Ubuntu:25.04 ipe 0 No fix
Ubuntu:25.10 ipe 0 No fix
Ubuntu:Pro:16.04:LTS ipe 0 No fix
Ubuntu:Pro:18.04:LTS ipe 0 No fix
Ubuntu:Pro:20.04:LTS ipe 0 No fix

Related vulnerabilities