# CVE-2020-8215: Buffer overflow in canvas

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.32%, higher than 83% of CVEs (2026-12-01)
- Published: 2020-07-20T15:01:38.000Z
- Modified: 2026-06-17T03:26:04.177Z
- Also known as: GHSA-73rg-x683-m3qw
- Weaknesses: CWE-120
- Assigned by: hackerone

## Description

A buffer overflow is present in canvas version <= 1.6.9, which could lead to a Denial of Service or execution of arbitrary code when it processes a user-provided image.

(As written by CVE List.)

## Affected

- node-canvas: Not Fixed
- canvas (npm): before 1.6.11
- automattic canvas: up to 1.6.9

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://hackerone.com/reports/315037> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8215> (advisory)
- <https://github.com/Automattic/node-canvas/commit/c3e4ccb1c404da01e83fe5eb3626bf55f7f55957> (web)
- <https://www.npmjs.com/package/canvas> (web)

## Sources

- CVE List: [CVE-2020-8215](https://www.cve.org/CVERecord?id=CVE-2020-8215), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-73rg-x683-m3qw](https://github.com/advisories/GHSA-73rg-x683-m3qw), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-8215](https://nvd.nist.gov/vuln/detail/CVE-2020-8215), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8215 · Whole record: https://cve.day/CVE-2020-8215.json · Rebuilt by cve.day 2026-11-25T22:57:53.565Z
