{"id":"CVE-2022-25647","published":"2022-05-01T15:30:29Z","modified":"2026-05-27T14:03:51Z","title":"Deserialization of Untrusted Data","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.11566,"percentile":0.96136,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327","tags":["x_refsource_MISC"]},{"url":"https://github.com/google/gson/pull/1991","tags":["x_refsource_MISC"]},{"url":"https://github.com/google/gson/pull/1991/commits","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220901-0009/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2022/dsa-5227","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.23},{"name":"CVSS severity","points":5.39}]},"affectedVersions":[{"vendor":"n/a","product":"com.google.code.gson:gson","versions":[">= unspecified, < 2.8.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-22T13:25:33.911049Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.google.code.gson:gson","vulnerableRanges":["<2.8.9"],"patched":["2.8.9"],"from":["GHSA-4jrv-ppp4-jm57"],"provenance":"source"}],"summary":{"text":"The Gson library (com.google.code.gson:gson, versions before 2.8.9) contains a deserialization flaw in the writeReplace() method of its internal classes, classified as deserialization of untrusted data. An attacker who can supply data that Gson deserializes can trigger this flaw to cause a denial-of-service condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:24Z"},"euvd":{"id":"EUVD-2022-2402","exploited":false,"provenance":"source"}}