Out-of-bounds Read Affecting poppler-cpp package, versions <0:0.26.5-38.19.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.18% (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-AMZN201803-POPPLERCPP-1718909
  • published27 Sept 2021
  • disclosed7 Nov 2018

Introduced: 7 Nov 2018

CVE-2018-19059  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 poppler-cpp to version 0:0.26.5-38.19.amzn1 or higher.
This issue was patched in ALAS-2019-1271.

NVD Description

Note: Versions mentioned in the description apply only to the upstream poppler-cpp package and not the poppler-cpp package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

An issue was discovered in Poppler 0.71.0. There is a out-of-bounds read in EmbFile::save2 in FileSpec.cc, will lead to denial of service, as demonstrated by utils/pdfdetach.cc not validating embedded files before save attempts.