# CVE-2022-25647: Deserialization of Untrusted Data

- Severity: High 7.7 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/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): 11.9%, higher than 96% of CVEs (2026-12-01)
- Published: 2022-05-01T15:30:29.223Z
- Modified: 2026-09-10T03:49:19.710Z
- Also known as: GHSA-4jrv-ppp4-jm57, SNYK-JAVA-COMGOOGLECODEGSON-1730327
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: snyk

## Description

The package com.google.code.gson:gson before 2.8.9 are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to DoS attacks.

(As written by CVE List.)

## Affected

- com.google.code.gson:gson: from unspecified before 2.8.9
- com.google.code.gson:gson (Maven): before 2.8.9
- google gson: from 2.2.3 before 2.8.9
- debian debian_linux: 9.0; 10.0; 11.0
- netapp active_iq_unified_manager: no versions given
- oracle financial_services_crime_and_compliance_management_studio: 8.0.8.2.0; 8.0.8.3.0
- oracle graalvm: 20.3.6; 21.3.2; 22.1.0
- oracle retail_order_broker: 18.0; 19.1

## Every score

- snyk: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H`
- 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327> (third-party-advisory, web)
- <https://github.com/google/gson/pull/1991> (patch, third-party-advisory, web)
- <https://github.com/google/gson/pull/1991/commits> (patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html> (mailing-list, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220901-0009/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2022/dsa-5227> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25647> (advisory)
- <https://github.com/google/gson> (package)
- <https://security.netapp.com/advisory/ntap-20220901-0009> (web)

## Sources

- CVE List: [CVE-2022-25647](https://www.cve.org/CVERecord?id=CVE-2022-25647), CVE Terms of Use, modified 2026-05-27
- GitHub Advisory Database: [GHSA-4jrv-ppp4-jm57](https://github.com/advisories/GHSA-4jrv-ppp4-jm57), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-25647](https://nvd.nist.gov/vuln/detail/CVE-2022-25647), Public domain, modified 2026-06-17

---

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