cve.bz

CVE-2022-25647 Deserialization of Untrusted Data

7.5 highEPSS 12%Fix available

High (7.5). EPSS 12% estimated probability of exploitation activity in the next 30 days. Fixed in com.google.code.gson:gson 2.8.9.

On this page
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.

Severity

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
EPSS
12% (unchanged from 12% a week ago; 12% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-25647 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25647?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25647?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-25647 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
google:gsonfrom 2.2.3 before 2.8.9
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
oracle:financial_services_crime_and_compliance_management_studio8.0.8.2.0
oracle:financial_services_crime_and_compliance_management_studio8.0.8.3.0
oracle:graalvm20.3.6
oracle:graalvm21.3.2
oracle:graalvm22.1.0
oracle:retail_order_broker18.0
oracle:retail_order_broker19.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4jrv-ppp4-jm57Mavencom.google.code.gson:gson<2.8.92.8.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libgoogle-gson-java2.4-1+deb9u1DLA-3001-1
Debian10libgoogle-gson-java2.8.5-3+deb10u1DLA-3100-1
Debian11libgoogle-gson-java2.8.6-1+deb11u1DSA-5227-1
Debian12, 13, 14libgoogle-gson-java2.9.0-1DEBIAN-CVE-2022-25647
Ubuntu20.04:LTSlibgoogle-gson-java2.8.5-3+deb10u1build0.20.04.1UBUNTU-CVE-2022-25647 USN-6692-1
Ubuntu22.04:LTSlibgoogle-gson-java2.8.8-1ubuntu0.1UBUNTU-CVE-2022-25647 USN-6692-1
UbuntuPro:16.04:LTSlibgoogle-gson-java2.4-1ubuntu0.1~esm1UBUNTU-CVE-2022-25647 USN-6692-1
UbuntuPro:18.04:LTSlibgoogle-gson-java2.8.5-3~18.04.1~esm1UBUNTU-CVE-2022-25647 USN-6692-1
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-gson0:2.8.9-1.redhat_00001.1.el7eapRHSA-2022:5892
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.13-1.Final_redhat_00001.1.el7eapRHSA-2022:5892
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more0:4.1.77-1.Final_redhat_00001.1.el7eapRHSA-2022:5892
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-gson0:2.8.9-1.redhat_00001.1.el8eapRHSA-2022:5893
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-hal-console0:3.3.13-1.Final_redhat_00001.1.el8eapRHSA-2022:5893
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more0:4.1.77-1.Final_redhat_00001.1.el8eapRHSA-2022:5893
Red Hatjboss_enterprise_application_platform:7.4::el9eap7, eap7-runtime0:1-18.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-FastInfoset, eap7-glassfish-fastinfoset0:1.2.13-11.1.redhat_1.1.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.16.0-9.redhat_00042.1.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-activemq-artemis-native1:1.0.2-1.redhat_00001.1.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-aesh-extensions0:1.8.0-1.redhat_00001.1.el9eapRHSA-2022:5894
Red Hatjboss_enterprise_application_platform:7.4::el9eap7-aesh-readline0:2.2.0-1.redhat_00001.1.el9eapRHSA-2022:5894
198 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 10 moregoogle-gson2.8.9-150200.3.6.3SUSE-SU-2022:2044-1
SUSEManager Server Module 4.1google-gson2.8.9-150200.3.7.1SUSE-SU-2022:3706-1
openSUSELeap 15.3, Leap 15.4google-gson2.8.9-150200.3.6.3SUSE-SU-2022:2044-1
Alpinev3.15openjdk1111.0.17_p8-r0ALPINE-CVE-2022-25647
Alpinev3.16, v3.17, v3.18openjdk1313.0.12_p4-r0ALPINE-CVE-2022-25647
Alpinev3.16, v3.17, v3.18openjdk1515.0.8_p4-r0ALPINE-CVE-2022-25647
Alpinev3.16, v3.17, v3.18 and 6 moreopenjdk1111.0.16_p8-r0ALPINE-CVE-2022-25647
Alpinev3.16, v3.17, v3.18 and 6 moreopenjdk1717.0.4_p8-r0ALPINE-CVE-2022-25647

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-operator-bundle:2.1.1-2Fixed 2022-06-09RHSA-2022:4985
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-reports-rhel8:1.0.0-2Fixed 2022-06-09RHSA-2022:4985
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8:2.1.1-1Fixed 2022-06-09RHSA-2022:4985
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8-operator:2.1.1-1Fixed 2022-06-09RHSA-2022:4985
Cryostat 2 on RHEL 8cryostat-tech-preview/jfr-datasource-rhel8:2.1.0-2Fixed 2022-06-09RHSA-2022:4985
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1684911916-1.el8Fixed 2023-05-24RHSA-2023:3299
Red Hat AMQ Streams 2.2.0com.google.code.gson-gsonFixed 2022-10-05RHSA-2022:6819
Red Hat build of Eclipse Vert.x 4.2.7com.google.code.gson-gsonFixed 2022-06-23RHSA-2022:5029
Red Hat JBoss Enterprise Application Platformcom.google.code.gson/gson:2.8.9.redhat-00001Fixed 2022-08-08RHSA-2022:5928
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-activemq-artemis-0:1.5.5.016-1.redhat_00001.1.ep7.el7Fixed 2025-04-28RHSA-2025:4226
A-MQ Clients 2com.google.code.gson-gsonNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Will not fix
Red Hat AMQ Broker 7com.google.code.gson-gsonNot affected
Red Hat A-MQ Onlinecom.google.code.gson-gsonNot affected
Red Hat build of Debezium 1com.google.code.gson-gsonNot affected
Red Hat build of Quarkuscom.google.code.gson-gsonAffected
Red Hat Data Grid 8com.google.code.gson-gsonNot affected
Red Hat Fuse 7com.google.code.gson-gsonWill not fix
Red Hat Integration Camel K 1com.google.code.gson-gsonWill not fix
Red Hat Integration Camel Quarkus 1com.google.code.gson-gsonWill not fix
236 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-25647.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON