# GHSA-vpq5-4rc8-c222: Denial of Service in canvas

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-05T14:10:45.000Z
- Modified: 2020-08-31T18:36:22.000Z

## Description

Versions of `canvas` prior to 1.6.10 are vulnerable to Denial of Service. Processing malicious JPEGs or GIFs could crash the node process.


## Recommendation

Upgrade to version 1.6.10

(As written by GitHub Advisory Database.)

## Affected

- canvas (npm): before 1.6.10

## References

- <https://github.com/Automattic/node-canvas/commit/c3e4ccb1c404da01e83fe5eb3626bf55f7f55957> (web)
- <https://hackerone.com/reports/315037> (web)
- <https://www.npmjs.com/advisories/804> (web)

## Sources

- GitHub Advisory Database: [GHSA-vpq5-4rc8-c222](https://github.com/advisories/GHSA-vpq5-4rc8-c222), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-vpq5-4rc8-c222 · Whole record: https://cve.day/GHSA-vpq5-4rc8-c222.json · Rebuilt by cve.day 2026-11-25T22:56:46.697Z
