What’s Vulnerable › Vulnerabilities
CVE-2022-45494
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-01-31 · updated 2026-06-17
- Weakness: CWE-787
Description
Buffer overflow vulnerability in function json_parse_object in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (November 14, 2022) allows attackers to code arbitrary code and gain escalated privileges.
Affected products
- Json.H Project Json.H: before 2022-11-14 — fixed in 2022-11-14
How to fix
Upgrade to a fixed version: Json.H Project Json.H 2022-11-14. Check the vendor advisory for mitigations.
References
- https://github.com/hyrathon/trophies/security/advisories/GHSA-wvpq-p7pp-cj6m
- https://github.com/sheredom/json.h
- https://github.com/sheredom/json.h/issues/93
- https://github.com/sheredom/json.h/issues/97
- https://github.com/hyrathon/trophies/security/advisories/GHSA-wvpq-p7pp-cj6m
- https://github.com/sheredom/json.h
- https://github.com/sheredom/json.h/issues/93
- https://github.com/sheredom/json.h/issues/97
Get alerted when CVE-2022-45494 or the next vulnerability affects your stack