Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-32364 Overview
CVE-2025-32364 is a denial of service vulnerability in Poppler, the widely deployed PDF rendering library maintained by freedesktop.org. The flaw resides in the PSStack::roll function and triggers a floating-point exception when the library processes malformed PostScript input containing INT_MIN. Applications that embed Poppler, including document viewers and server-side PDF processors, crash when parsing a crafted file. The issue affects all Poppler versions prior to 25.04.0 and is categorized as an integer overflow or wraparound weakness ([CWE-190]).
Critical Impact
A specially crafted PDF can abort any application using an unpatched Poppler build, disrupting document workflows and PDF-dependent services.
Affected Products
- Freedesktop Poppler versions before 25.04.0
- Linux distributions bundling vulnerable Poppler builds (including Debian LTS)
- Downstream applications linking Poppler for PDF rendering or conversion
Discovery Timeline
- 2025-04-05 - CVE-2025-32364 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-32364
Vulnerability Analysis
Poppler implements a PostScript interpreter to handle embedded PostScript operators found inside PDF documents. The PSStack::roll method performs a stack rotation that depends on arithmetic over user-supplied integers. When an attacker supplies INT_MIN as the roll count, the subsequent integer arithmetic produces an undefined numeric result that reaches a division or modulo operation. The resulting floating-point exception terminates the hosting process immediately.
The vulnerability requires a local attack vector and user interaction, typically opening a crafted PDF in a viewer such as Evince, Okular, or any application linking libpoppler. The impact is limited to availability. No confidentiality or integrity loss occurs because the process aborts before further processing. Automated conversion pipelines and server-side renderers that process untrusted PDFs are the most exposed targets.
Root Cause
The root cause is missing input validation on the roll count argument inside PSStack::roll. The function does not clamp or reject boundary values such as INT_MIN, allowing the arithmetic to overflow and generate a signal that is not caught by the interpreter. The upstream fix in commit d87bc726c7cc98f8c26b60ece5f20236e9de1bc3 adds bounds checking before the roll arithmetic executes.
Attack Vector
Exploitation requires an attacker to deliver a malformed PDF to a victim who opens it with an application built on vulnerable Poppler. Delivery vectors include email attachments, shared document stores, and web downloads. Because the outcome is a crash rather than code execution, the vulnerability is suited to denial of service against document pipelines, print spoolers, and automated indexers.
For detailed technical analysis, see the GitLab Poppler Issue #1574 and the upstream fix commit.
Detection Methods for CVE-2025-32364
Indicators of Compromise
- Repeated SIGFPE process terminations in applications linking libpoppler
- Core dumps referencing PSStack::roll in the stack trace
- PDF files containing PostScript roll operators with operands at or near INT_MIN
- Unexpected crashes of evince, okular, pdftoppm, pdftotext, or pdftocairo when parsing documents
Detection Strategies
- Scan incoming PDFs with a parser that flags PostScript operators carrying extreme integer operands.
- Correlate application crash telemetry with the specific PDF file name or hash that triggered the fault.
- Monitor host logs for SIGFPE signals delivered to processes known to use Poppler.
Monitoring Recommendations
- Enable core dump collection on document-processing hosts to capture evidence of exploitation attempts.
- Alert on crash loops in headless PDF conversion workers, which indicate repeated malformed input.
- Track installed Poppler package versions across the fleet to confirm patch coverage.
How to Mitigate CVE-2025-32364
Immediate Actions Required
- Upgrade Poppler to version 25.04.0 or later on every system that renders or converts PDFs.
- Apply distribution-provided security updates, including the fix shipped in the Debian LTS Announcement.
- Restart services that embed libpoppler after patching to load the fixed library.
- Restrict automated PDF processing jobs to run under isolated accounts with resource limits.
Patch Information
The upstream fix is contained in Poppler commit d87bc726c7cc98f8c26b60ece5f20236e9de1bc3 and is included in Poppler 25.04.0. Debian LTS and other downstream distributors have published backported packages. Refer to the GitLab Poppler Commit Update for the authoritative patch content.
Workarounds
- Block or quarantine PDFs from untrusted sources until patched builds are deployed.
- Run PDF viewers and conversion utilities inside sandboxes such as Firejail, Flatpak, or seccomp-filtered containers.
- Configure document-processing services to automatically restart after SIGFPE to preserve availability.
- Disable server-side PDF preview features in collaboration platforms where feasible until systems are updated.
# Verify installed Poppler version on Debian or Ubuntu
dpkg -l | grep -E 'poppler|libpoppler'
# Upgrade Poppler packages
sudo apt update && sudo apt install --only-upgrade libpoppler-cpp0v5 libpoppler-glib8 poppler-utils
# Confirm patched version
pdftoppm -v 2>&1 | head -n 1
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

