Out-of-bounds Write Affecting mupdf package, versions [,1.13.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MUPDF-2367828
  • published26 Jan 2022
  • disclosed24 Jan 2018
  • creditUnknown

Introduced: 24 Jan 2018

CVE-2018-6187  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade mupdf to version 1.13.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.

CVSS Base Scores

version 3.1