# CVE-2022-25024: json2xml Uncaught Exception vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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): 1.31%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-22T00:00:00.000Z
- Modified: 2026-06-17T04:32:57.033Z
- Also known as: GHSA-8rj5-2857-877j, PYSEC-2023-149
- Weaknesses: CWE-248, CWE-754
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

The json2xml package through 3.12.0 for Python allows an error in typecode decoding enabling a remote attack that can lead to an exception, causing a denial of service.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- json2xml (PyPI): before 3.14.0
- vinitkumar json2xml: up to 3.12.0

## Every score

- 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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- 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`

## References

- <https://github.com/vinitkumar/json2xml/issues/106> (exploit, issue-tracking, patch, report, web)
- <https://github.com/vinitkumar/json2xml/pull/107> (issue-tracking, patch, web)
- <https://github.com/vinitkumar/json2xml/pull/107/files> (patch, web)
- <https://packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads/> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25024> (advisory)
- <https://github.com/vinitkumar/json2xml/commit/a9cd75b61329801b47a8fba7473bce6c85a38b9b> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/json2xml/PYSEC-2023-149.yaml> (web)
- <https://github.com/vinitkumar/json2xml> (package)
- <https://packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads> (web)
- <https://github.com/advisories/GHSA-8rj5-2857-877j> (advisory)

## Sources

- CVE List: [CVE-2022-25024](https://www.cve.org/CVERecord?id=CVE-2022-25024), CVE Terms of Use, modified 2024-10-03
- GitHub Advisory Database: [GHSA-8rj5-2857-877j](https://github.com/advisories/GHSA-8rj5-2857-877j), CC-BY-4.0, modified 2025-02-18
- NVD: [CVE-2022-25024](https://nvd.nist.gov/vuln/detail/CVE-2022-25024), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-149](https://osv.dev/vulnerability/PYSEC-2023-149), CC-BY-4.0, modified 2026-06-10

---

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