CVE-2022-29256: sharp is an application for Node.js image processing
CVE-2022-29256 is a medium-severity flaw (CVSS 6.5) affecting sharp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
sharp is an application for Node.js image processing. Prior to version 0.30.5, there is a possible vulnerability in logic that is run only at `npm install` time when installing versions of `sharp` prior to the latest v0.30.5. If an attacker has the ability to set the value of the `PKG_CONFIG_PATH` environment variable in a build environment then they might be able to use this to inject an arbitrary command at `npm install` time. This is not part
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-29256?
sharp: upgrade to 0.30.5. Exact commands for each OS are on this page.
Is CVE-2022-29256 being exploited?
CVE-2022-29256 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-29256 affect?
CVE-2022-29256 affects sharp. Severity is medium (CVSS 6.5). sharp is an application for Node.js image processing. Prior to version 0.30.5, there is a possible vulnerability in logic that is run only at `npm install` time when installing versions of `sharp` prior to the latest v0.30.5. If an attacker
How urgent is CVE-2022-29256?
Priority 31/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-33687 HIGH 8.8 UPGRADE Sharp is a content management framework built for Laravel as a package
- CVE-2026-33686 HIGH 8.8 UPGRADE Sharp is a content management framework built for Laravel as a package