CVE-2025-57248
SumatraPDF vulnerability analysis and mitigation

Overview

A null pointer dereference vulnerability was discovered in SumatraPDF 3.5.2 during the processing of a crafted .djvu file. When the file is opened, the application crashes inside libmupdf.dll, specifically in the DataPool::has_data() function. The vulnerability was discovered and reported on July 21, 2025, and was assigned CVE-2025-57248 (NVD).

Technical details

The vulnerability occurs in the DataPool::has_data() function within libmupdf.dll. The root cause is a null pointer dereference that happens when processing malformed DjVu files. The vulnerable execution path follows DjVuFile::init() → DataPool::create() → DataPool::connect() → DataPool::has_data(), which is triggered during recursive chunk processing when the internal pointer is unexpectedly null. The CVSS v3.1 base score for this vulnerability is 7.3 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L (NVD, GitHub Issue).

Impact

When exploited, this vulnerability causes the application to crash due to the null pointer dereference. The vulnerability has been classified with CWE-476 (NULL Pointer Dereference) and can lead to denial of service conditions when processing specially crafted DjVu files (NVD).

Additional resources


SourceThis report was generated using AI

Related SumatraPDF vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2012-4896HIGH9.3
  • SumatraPDFSumatraPDF
  • cpe:2.3:a:sumatrapdfreader:sumatrapdf
NoYesOct 05, 2012
CVE-2012-5340HIGH7.8
  • SumatraPDFSumatraPDF
  • cpe:2.3:a:sumatrapdfreader:sumatrapdf
NoYesJan 23, 2020
CVE-2013-2830HIGH7.8
  • SumatraPDFSumatraPDF
  • cpe:2.3:a:sumatrapdfreader:sumatrapdf
NoYesFeb 08, 2018
CVE-2025-57248HIGH7.3
  • SumatraPDFSumatraPDF
  • cpe:2.3:a:sumatrapdfreader:sumatrapdf
NoNoSep 15, 2025
CVE-2023-33802MEDIUM5.5
  • SumatraPDFSumatraPDF
  • cpe:2.3:a:sumatrapdfreader:sumatrapdf
NoYesJul 26, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management