# CVE-2022-32511: JMESPath for Ruby uses unsafe JSON.load when safe JSON.parse is preferable

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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.43%, higher than 84% of CVEs (2026-12-01)
- Published: 2022-06-06T21:55:11.000Z
- Modified: 2026-10-08T22:17:21.710Z
- Also known as: GHSA-5c5f-7vfq-3732
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

jmespath.rb (aka JMESPath for Ruby) before 1.6.1 uses JSON.load in a situation where JSON.parse is preferable.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- jmespath (RubyGems): before 1.6.1
- jmespath jmespath: before 1.6.1
- fedoraproject fedora: 35; 36

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/jmespath/jmespath.rb/pull/55> (patch, third-party-advisory, web)
- <https://github.com/jmespath/jmespath.rb/compare/v1.6.0...v1.6.1> (third-party-advisory, web)
- <https://stackoverflow.com/a/30050571/580231> (third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32511> (advisory)
- <https://github.com/jmespath/jmespath.rb/commit/e8841280053a9d9a0c90f36223f926c8b9e4ec49> (web)
- <https://github.com/jmespath/jmespath.rb> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jmespath/CVE-2022-32511.yml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/376NUPIPTYBWWGS33GO4UOLQRI4D3BTP> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AGZ2YWONVFFOPACHAT4MM7ZBT4DNHOF5> (web)

## Sources

- CVE List: [CVE-2022-32511](https://www.cve.org/CVERecord?id=CVE-2022-32511), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-5c5f-7vfq-3732](https://github.com/advisories/GHSA-5c5f-7vfq-3732), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-32511](https://nvd.nist.gov/vuln/detail/CVE-2022-32511), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2022-32511 · Whole record: https://cve.day/CVE-2022-32511.json · Rebuilt by cve.day 2026-11-25T22:58:12.134Z
