# CVE-2020-36067: Improper Validation of Array Index in GJSON

- 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): 1.44%, higher than 74% of CVEs (2026-12-01)
- Published: 2021-01-05T20:41:05.000Z
- Modified: 2026-06-17T03:14:45.940Z
- Also known as: GHSA-p64j-r5f4-pwwx, GO-2021-0054
- Weaknesses: CWE-129
- Assigned by: mitre

## Description

GJSON <=v1.6.5 allows attackers to cause a denial of service (panic: runtime error: slice bounds out of range) via a crafted GET call.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/tidwall/gjson (Go): before 1.6.6
- gjson_project gjson: up to 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/196> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36067> (advisory)
- <https://github.com/tidwall/gjson/commit/bf4efcb3c18d1825b2988603dea5909140a5302b> (fix, web)
- <https://github.com/tidwall/gjson> (package)
- <https://pkg.go.dev/vuln/GO-2021-0054> (web)

## Sources

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

---

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