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.
CVE-2022-25647
This high-severity CVE scores 7.7 under NVD CVSS v3. EPSS exploit probability: 12.2%, top 4% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.7
- EG Score
- 7.7(medium)
- EG Risk
- 51(Track)EG Risk 51/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity77% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 95.7%
- KEV
- Not listed
Published
May 1, 2022
Last Modified
May 22, 2026
References (16)
- report@snykhttps://github.com/google/gson/pull/1991
- report@snykhttps://github.com/google/gson/pull/1991/commits
- report@snykhttps://lists.debian.org/debian-lts-announce/2022/05/msg00015.html
- report@snykhttps://lists.debian.org/debian-lts-announce/2022/09/msg00009.html
- report@snykhttps://security.netapp.com/advisory/ntap-20220901-0009/
- report@snykhttps://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327
- report@snykhttps://www.debian.org/security/2022/dsa-5227
- report@snykhttps://www.oracle.com/security-alerts/cpujul2022.html
- af854a3a-2127-422b-91ae-364da2661108https://github.com/google/gson/pull/1991
- af854a3a-2127-422b-91ae-364da2661108https://github.com/google/gson/pull/1991/commits
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20220901-0009/
- af854a3a-2127-422b-91ae-364da2661108https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327
- af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5227
Vendor Advisories for CVE-2022-25647(6)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2025:4437Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.13 security update
- RHSA-2025:4226Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.10 on RHEL 7 security update
- RHSA-2022:6835Red Hat Product SecurityHigh
Red Hat Security Advisory: Service Registry (container images) release and security update [2.3.0.GA]
- RHSA-2022:6819Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AMQ Streams 2.2.0 release and security update
- RHSA-2022:4985Red Hat Product SecurityMedium
Red Hat Security Advisory: Cryostat 2.1.1: new Cryostat on RHEL 8 container images
- GHSA-4jrv-ppp4-jm57GitHub Security AdvisoriesHigh
Deserialization of Untrusted Data in Gson
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libgoogle-gson-java (2.8.5-3+deb10u1build0.20.04.1) @ focal | 2026-05-22 | ubuntu |
| redhat | eap7-woodstox-core-0:6.4.0-1.redhat_00001.1.el7eap | 2025-05-05 | redhat |
| redhat | eap7-xml-security-0:2.0.10-2.redhat_00002.1.ep7.el7 | 2025-04-28 | redhat |
| redhat | jenkins-2-plugins-0:4.13.1684911916-1.el8 | 2023-05-24 | redhat |
| redhat | com.google.code.gson-gson | 2022-10-06 | redhat |
| redhat | eap7-yasson-0:1.0.10-1.redhat_00001.1.el9eap | 2022-08-03 | redhat |
| redhat | eap7-gson-0:2.8.9-1.redhat_00001.1.el8eap | 2022-08-03 | redhat |
| redhat | eap7-gson-0:2.8.9-1.redhat_00001.1.el7eap | 2022-08-03 | redhat |
| redhat | cryostat-tech-preview/jfr-datasource-rhel8:2.1.0-2 | 2022-06-09 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| com.google.code.gson:gson | 1.1 ... 2.8.8 (31 versions) | 2.8.9 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(8)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2022:5029MODERATE2022-05-01
RHSA-2022:5029 — Moderate
- Red HatRHSA-2022:5892MODERATE2022-05-01
RHSA-2022:5892 — Moderate
- Red HatRHSA-2022:5893MODERATE2022-05-01
RHSA-2022:5893 — Moderate
- Red HatRHSA-2022:5894MODERATE2022-05-01
RHSA-2022:5894 — Moderate
- Red HatRHSA-2022:5903MODERATE2022-05-01
RHSA-2022:5903 — Moderate
- Red HatRHSA-2022:5928MODERATE2022-05-01
RHSA-2022:5928 — Moderate
- Red HatRHSA-2023:3299MODERATE2022-05-01
RHSA-2023:3299 — Moderate
- UbuntuUSN-6692-1MEDIUM
Gson vulnerability
Data Freshness Timeline
(refreshed 13× in last 7d / 42× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 105 total refreshes for this CVE.
- 2026-07-23 02:09 UTCEG score recompute
- 2026-07-22 22:56 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 02:11 UTCOSV refresh
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 08:30 UTCOSV refresh
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 08:04 UTCOSV refresh
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-502
- CVE-2017-20208EG 9.8CRITICAL
- CVE-2017-20207EG 9.8CRITICAL
- CVE-2017-20206EG 9.8CRITICAL
- CVE-2017-20189EG 9.8CRITICAL
- CVE-2017-10992EG 9.8EPSS 95%CRITICAL
- CVE-2013-4521EG 9.8EPSS 90%CRITICAL
- CVE-2014-1860EG 9.8CRITICAL
- CVE-2016-1000027EG 9.8EPSS 98%CRITICAL
- CVE-2014-3699EG 9.8CRITICAL
- CVE-2017-18605EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2022-25647?
When was CVE-2022-25647 disclosed?
Is CVE-2022-25647 actively exploited?
What is the CVSS score of CVE-2022-25647?
How do I remediate CVE-2022-25647?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-25647
Is Your Infrastructure Affected by CVE-2022-25647?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.