VYPR
High severityNVD Advisory· Published Feb 28, 2020· Updated Aug 4, 2024

CVE-2020-8132

CVE-2020-8132

Description

pdf-image npm package <=2.0.0 lacks input validation, allowing arbitrary code execution via crafted PDF file paths.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

pdf-image npm package <=2.0.0 lacks input validation, allowing arbitrary code execution via crafted PDF file paths.

Vulnerability

CVE-2020-8132 is a critical vulnerability in the pdf-image npm package (versions <=2.0.0) due to insufficient input validation. The package fails to sanitize file paths when processing PDF files, enabling an attacker to inject arbitrary commands or paths.

Exploitation

An attacker can exploit this by providing a malicious PDF file path constructed from untrusted user input. This can be achieved through any application that uses pdf-image to convert PDFs to images, where the attacker controls the file path parameter. No special privileges are required; the attacker only needs to supply a crafted path.

Impact

Successful exploitation allows arbitrary code execution on the server or system running the vulnerable package. This could lead to full system compromise, data theft, or further lateral movement within the network. The attack does not require authentication if the application exposes the file path input to untrusted users.

Mitigation

Users should upgrade to pdf-image version >2.0.0, where the vulnerability is patched. As per the advisory [1], the fix was implemented in a subsequent release. If upgrading is not immediately possible, ensure that user-supplied file paths are sanitized and validated before being passed to the pdf-image package.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pdf-imagenpm
<= 2.0.0

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.