# CVE-2020-35380: Denial of service in GJSON

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `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): 1.46%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-15T20:12:11.000Z
- Modified: 2026-06-17T03:13:41.237Z
- Also known as: GHSA-w942-gw6m-p62c, GO-2021-0059
- Weaknesses: CWE-400
- Assigned by: mitre

## Description

GJSON before 1.6.4 allows attackers to cause a denial of service via crafted JSON.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/tidwall/gjson (Go): before 1.6.4
- gjson_project gjson: before 1.6.4

## Every score

- GitHub: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/tidwall/gjson/issues/192> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35380> (advisory)
- <https://github.com/tidwall/gjson/commit/f0ee9ebde4b619767ae4ac03e8e42addb530f6bc> (fix, web)
- <https://github.com/tidwall/gjson> (package)
- <https://pkg.go.dev/vuln/GO-2021-0059> (web)

## Sources

- CVE List: [CVE-2020-35380](https://www.cve.org/CVERecord?id=CVE-2020-35380), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-w942-gw6m-p62c](https://github.com/advisories/GHSA-w942-gw6m-p62c), CC-BY-4.0, modified 2024-05-20
- Go Vulnerability Database: [GO-2021-0059](https://pkg.go.dev/vuln/GO-2021-0059), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2020-35380](https://nvd.nist.gov/vuln/detail/CVE-2020-35380), Public domain, modified 2026-06-17

---

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