# CVE-2024-40060: go-chart v2.1.1 was discovered to contain an infinite loop via the drawCanvas() function.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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): 0.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-23T00:00:00.000Z
- Modified: 2026-06-17T07:45:39.500Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

go-chart v2.1.1 was discovered to contain an infinite loop via the drawCanvas() function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wcharczuk go-chart: up to 2.1.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://gist.github.com/F3iG0n9/4d0d7c863eea6874eeeb26a3073aa5f8> (exploit)

## Sources

- CVE List: [CVE-2024-40060](https://www.cve.org/CVERecord?id=CVE-2024-40060), CVE Terms of Use, modified 2024-08-16
- NVD: [CVE-2024-40060](https://nvd.nist.gov/vuln/detail/CVE-2024-40060), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40060 · Whole record: https://cve.day/CVE-2024-40060.json · Rebuilt by cve.day 2026-11-25T22:58:43.165Z
