# CVE-2020-36066: github.com/tidwall/gjson is vulnerable to Denial of service

- Severity: High 7.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N`
- 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.06%, higher than 81% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-05T20:41:16.000Z
- Modified: 2026-06-17T03:14:45.813Z
- Also known as: GHSA-wjm3-fq3r-5x46, GO-2022-0957
- Weaknesses: CWE-400
- Assigned by: mitre

## Description

GJSON <1.6.5 allows attackers to cause a denial of service (remote) via crafted JSON.

(As written by CVE List.)

## Affected

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

## Every score

- mitre: CVSS:3.1 7.5 High `CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N`
- 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/195> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36066> (advisory)
- <https://github.com/tidwall/gjson/issues/195#issuecomment-755303148> (web)
- <https://github.com/tidwall/gjson/commit/9f58baa7a613f89dfdc764c39e47fd3a15606153> (web)
- <https://github.com/tidwall/match/commit/c2f534168b739a7ec1821a33839fb2f029f26bbc> (fix, web)
- <https://github.com/tidwall/gjson> (package)
- <https://pkg.go.dev/vuln/GO-2022-0957> (web)

## Sources

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

---

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