# CVE-2022-25845: Deserialization of Untrusted Data

- Severity: High 8.1 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- 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): 18.7%, higher than 97% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-10T20:05:40.814Z
- Modified: 2026-07-08T06:50:00.981Z
- Also known as: GHSA-pv7h-hx5h-mgfj, SNYK-JAVA-COMALIBABA-2859222
- Weaknesses: CWE-502
- Assigned by: snyk

## Description

The package com.alibaba:fastjson before 1.2.83 are vulnerable to Deserialization of Untrusted Data by bypassing the default autoType shutdown restrictions, which is possible under certain conditions. Exploiting this vulnerability allows attacking remote servers. Workaround: If upgrading is not possible, you can enable [safeMode](https://github.com/alibaba/fastjson/wiki/fastjson_safemode).

(As written by CVE List.)

## Affected

- com.alibaba:fastjson: from unspecified before 1.2.83
- com.alibaba:fastjson (Maven): from 1.2.25 before 1.2.83
- alibaba fastjson: before 1.2.83
- oracle communications_cloud_native_core_unified_data_repository: 22.2.0

## Every score

- snyk: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/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 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.ddosi.org/fastjson-poc/> (exploit, third-party-advisory)
- <https://snyk.io/vuln/SNYK-JAVA-COMALIBABA-2859222> (third-party-advisory, web)
- <https://github.com/alibaba/fastjson/commit/8f3410f81cbd437f7c459f8868445d50ad301f15> (patch, third-party-advisory, web)
- <https://github.com/alibaba/fastjson/commit/35db4adad70c32089542f23c272def1ad920a60d> (patch, third-party-advisory, web)
- <https://github.com/alibaba/fastjson/wiki/security_update_20220523> (third-party-advisory, web)
- <https://github.com/alibaba/fastjson/releases/tag/1.2.83> (release-notes, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25845> (advisory)
- <https://github.com/alibaba/fastjson> (package)
- <https://www.ddosi.org/fastjson-poc> (web)

## Sources

- CVE List: [CVE-2022-25845](https://www.cve.org/CVERecord?id=CVE-2022-25845), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-pv7h-hx5h-mgfj](https://github.com/advisories/GHSA-pv7h-hx5h-mgfj), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2022-25845](https://nvd.nist.gov/vuln/detail/CVE-2022-25845), Public domain, modified 2026-06-17

---

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