CVE-2016-10570: Insecure Download of Executable in pngcrush-installer

pngcrush-installer Updated 02 Oct 2025

Summary

18/02/2019
Yes i
High
8.1

CVE-2016-10570: pngcrush-installer downloads Resources over HTTP. Affects pngcrush-installer versions < 1.8.10. Fixed in 1.8.10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The pngcrush-installer is an npm package that provides a convenient way to install and use the pngcrush utility, which is used for optimizing PNG image files. It allows users to compress PNG images without losing quality. The package is widely used in web development projects to improve website performance by reducing the size of image files. However, a vulnerability has been discovered in versions prior to 1.8.10 that exposes users to potential code execution attacks.

Vulnerability Detail

The vulnerability in pngcrush-installer arises from the insecure download of an executable file over an unencrypted HTTP connection. This means that when the package is installed or updated, it retrieves the executable file from a remote server without using secure protocols. If an attacker has a privileged network position, they can intercept the response and replace the legitimate executable with a malicious one. When the user runs pngcrush-installer, the malicious executable will be executed, leading to arbitrary code execution on the system. This can result in various security risks, including unauthorized access, data theft, and system compromise.

How To Fix

Minimum fixed version

1.8.10

This is the first release that contains the fix.

npm install pngcrush-installer@1.8.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The vulnerability in pngcrush-installer exposes users to the risk of arbitrary code execution due to the insecure download of an executable file. To mitigate this risk, it is crucial to update to version 1.8.10 or later, which ensures secure downloads over HTTPS. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pngcrush-installer →

Share this vulnerability

FAQ

pngcrush-installer is an npm package that simplifies the installation and usage of the pngcrush utility for optimizing PNG image files.

The vulnerability allows an attacker with a privileged network position to replace the legitimate executable file downloaded by pngcrush-installer with a malicious one. This can lead to arbitrary code execution on the system running the package, potentially resulting in unauthorized access, data theft, and system compromise.

To fix this vulnerability, update pngcrush-installer to version 1.8.10 or later. This ensures that the executable file is downloaded over a secure HTTPS connection, reducing the risk of interception and tampering by attackers.

No specific workarounds have been identified for this vulnerability. It is recommended to update to the latest version of pngcrush-installer as soon as possible.

How To Fix

Minimum fixed version

1.8.10

This is the first release that contains the fix.

npm install pngcrush-installer@1.8.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback