Out-of-Bounds Affecting kermitt2/pdfalto package, versions [0,0.6.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.2% (67th 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 Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-KERMITT2PDFALTO-2367467
  • published26 Jan 2022
  • disclosed21 Mar 2019
  • creditUnknown

Introduced: 21 Mar 2019

CVE-2019-9878  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade kermitt2/pdfalto to version 0.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. There is an invalid memory access in the function GfxIndexedColorSpace::mapColorToBase() located in GfxState.cc in Xpdf 4.0.0, as used in pdfalto 0.2. It can be triggered by (for example) sending a crafted pdf file to the pdftops binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.

References

CVSS Base Scores

version 3.1