Use After Free Affecting xpdf package, versions <4.05-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.07% (33rd 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE321-XPDF-8489905
  • published6 Dec 2024
  • disclosed29 Sept 2022

Introduced: 29 Sep 2022

CVE-2022-38222  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 xpdf to version 4.05-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xpdf package and not the xpdf package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

There is a use-after-free issue in JBIG2Stream::close() located in JBIG2Stream.cc in Xpdf 4.04. It can be triggered by sending a crafted PDF file to (for example) the pdfimages binary. It allows an attacker to cause Denial of Service or possibly have unspecified other impact.

CVSS Scores

version 3.1