Cloudanix VulnDB

CVE-2023-3044

Low · 3.3

CVSS

3.3

EPSS

0.3%

Published

Jun 2, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A PDF viewer can unexpectedly stop working when it tries to read certain unusually large files, which may interrupt normal document access.

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

What it actually does

Divide-by-zero condition triggered in Xpdf text extraction when processing a PDF with an excessively large page size, leading to a crash.

Why it matters to the business

Users opening specially crafted PDF files may experience application crashes that interrupt document viewing workflows and require restarts or alternative tools.

How an attack unfolds

An attacker creates a PDF containing an abnormally large page size, then delivers the file through email, web download, or shared storage; when a victim opens the document in Xpdf the divide-by-zero occurs and the application terminates.

How to fix it

Upgrade Xpdf to the first release containing the correction for this divide-by-zero condition; if no patched version is available, replace Xpdf with an alternative PDF viewer that safely handles large page sizes.

How to confirm the fix worked

Test the application against the original fuzz-generated PDF that reproduces the divide-by-zero; confirm the process no longer crashes and review release notes for the fix.

Typical attack path

  1. Craft a PDF with an excessively large page size that triggers the divide-by-zero path
  2. Distribute the malicious PDF to the target via email, download link, or file share
  3. Victim opens the PDF using Xpdf for text extraction or rendering
  4. Application crashes due to unhandled divide-by-zero

How to detect it

Review system and application logs for Xpdf process crashes or segmentation faults that occur immediately after PDF file access; correlate with file creation or download events involving PDF documents.

What your security team should do

  • Prioritize replacement of Xpdf with a maintained viewer that handles malformed input
  • Block or sandbox PDF processing workflows that rely on Xpdf until a safe version is deployed
  • Monitor vendor announcements for a corrected release and schedule immediate rollout

The record

An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code. This is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.

Affected packages

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

Related vulnerabilities