# CVE-2022-45492: Buffer overflow vulnerability in function jsonparsenumber in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (Novembe…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/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): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2023-02-03T00:00:00.000Z
- Modified: 2026-06-17T05:10:15.250Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

Buffer overflow vulnerability in function json_parse_number in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (November 14, 2022) allows attackers to code arbitrary code and gain escalated privileges.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- json.h_project json.h: before 2022-11-14

## References

- <https://github.com/sheredom/json.h/issues/95> (issue-tracking, third-party-advisory)
- <https://github.com/hyrathon/trophies/security/advisories/GHSA-r9wh-hxqh-3xq7> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-45492](https://www.cve.org/CVERecord?id=CVE-2022-45492), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-45492](https://nvd.nist.gov/vuln/detail/CVE-2022-45492), Public domain, modified 2026-06-17

---

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