{"id":"CVE-2022-45688","aliases":["CLSA-2025-1760313982","CLSA-2025-1760313984","CLSA-2026-1794152335","EUVD-2022-7491","GHSA-3vqj-43w4-2q58","RHLW-2026-1da18ff8e343fdf8","ROOT-APP-MAVEN-CVE-2022-45688","openSUSE-SU-2024:14371-1"],"status":"published","title":"json stack overflow vulnerability","description":"A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01263,"percentile":0.69868,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-787"],"published":"2022-12-13T00:00:00Z","modified":"2026-11-08T19:30:02Z","exploits":[{"source":"pocgithub","id":"scabench/jsonorg-tp1","title":"scabench/jsonorg-tp1","date":"2023-12-27","url":"https://github.com/scabench/jsonorg-tp1"},{"source":"pocgithub","id":"scabench/jsonorg-fp1","title":"scabench/jsonorg-fp1","date":"2023-12-28","url":"https://github.com/scabench/jsonorg-fp1"},{"source":"pocgithub","id":"scabench/jsonorg-fp2","title":"scabench/jsonorg-fp2","date":"2023-12-29","url":"https://github.com/scabench/jsonorg-fp2"},{"source":"pocgithub","id":"scabench/jsonorg-fp3","title":"scabench/jsonorg-fp3","date":"2023-12-29","url":"https://github.com/scabench/jsonorg-fp3"},{"source":"pocgithub","id":"scabench/jsonorg-fn1","title":"scabench/jsonorg-fn1","date":"2024-01-21","url":"https://github.com/scabench/jsonorg-fn1"}],"fixes":[{"ecosystem":"Maven","package":"org.json:json","fixed_in":["20230227"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"cn.hutool:hutool-json","fixed_in":["5.8.25"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:Maven","package":"org.json:json","fixed_in":["20140107-tuxcare.1","20090211-tuxcare.1","20210307-tuxcare.1"],"sources":["osv"]},{"ecosystem":"Red Hat Lightwell:Maven","package":"org.json:json","fixed_in":["20220320.0.0.rhlw-00003"],"sources":["osv"]},{"ecosystem":"Root:Maven","package":"org.json:json","fixed_in":["20220320-aikido.1","20220320-aikido.2"],"sources":["osv"]},{"ecosystem":"Root:Maven","package":"io.root.org.json:json","fixed_in":["20220320-root.io.1","20220320-root.io.2","20230227-root.io.1","20230227-root.io.2","20230227-root.io.3"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"json-java","fixed_in":["20240303-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.json:json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20230227"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"cn.hutool:hutool-json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.25"}]}]},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.json:json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"20140107"},{"fixed":"20140107-tuxcare.1"}]}],"versions":["20140107"]},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.json:json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"20090211"},{"fixed":"20090211-tuxcare.1"}]}],"versions":["20090211"]},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.json:json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"20210307"},{"fixed":"20210307-tuxcare.1"}]}],"versions":["20210307"]},{"source":"osv","ecosystem":"Maven","package":"cn.hutool:hutool-json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.25"}]}],"versions":["4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.10","4.1.11","4.1.12","4.1.13","4.1.14","4.1.15","4.1.16","4.1.17","4.1.18","4.1.19","4.1.2","4.1.20","4.1.21","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.8","4.1.9","4.2.1","4.3.0","4.3.1","4.3.2","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.5.0","4.5.1","4.5.10","4.5.11","4.5.12","4.5.13","4.5.14","4.5.15","4.5.16","4.5.17","4.5.18","4.5.2","4.5.3","4.5.4","4.5.5","4.5.6","4.5.7","4.5.8","4.5.9","4.6.0","4.6.1","4.6.10","4.6.11","4.6.12","4.6.13","4.6.14","4.6.15","4.6.16","4.6.17","4.6.2","4.6.3","4.6.4","4.6.5","4.6.6","4.6.7","4.6.8","5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.1.0","5.1.1","5.1.2","5.1.3","5.1.4","5.1.5","5.2.0","5.2.1","5.2.2","5.2.3","5.2.4","5.2.5","5.3.0","5.3.1","5.3.10","5.3.2","5.3.3","5.3.4","5.3.5","5.3.6","5.3.7","5.3.8","5.3.9","5.4.0","5.4.1","5.4.2","5.4.3","5.4.4","5.4.5","5.4.6","5.4.7","5.5.0","5.5.1","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.7","5.5.8","5.5.9","5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.6.5","5.6.6","5.6.7","5.7.0","5.7.1","5.7.10","5.7.11","5.7.12","5.7.13","5.7.14","5.7.15","5.7.16","5.7.17","5.7.18","5.7.19","5.7.2","5.7.20","5.7.21","5.7.22","5.7.3","5.7.4","5.7.5","5.7.6","5.7.7","5.7.8","5.7.9","5.8.0","5.8.0.M1","5.8.0.M2","5.8.0.M3","5.8.0.M4","5.8.1","5.8.10","5.8.11","5.8.12","5.8.13","5.8.14","5.8.15","5.8.16","5.8.17","5.8.18","5.8.19","5.8.2","5.8.20","5.8.21","5.8.22","5.8.23","5.8.24","5.8.3","5.8.4","5.8.4.M1","5.8.5","5.8.6","5.8.7","5.8.8","5.8.9"]},{"source":"osv","ecosystem":"Maven","package":"org.json:json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20230227"}]}],"versions":["20070829","20080701","20090211","20131018","20140107","20141113","20150729","20151123","20160212","20160807","20160810","20170516","20171018","20180130","20180813","20190722","20200518","20201115","20210307","20211205","20220320","20220924"]},{"source":"osv","ecosystem":"Red Hat Lightwell:Maven","package":"org.json:json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20220320.0.0.rhlw-00003"}]}],"versions":["20070829","20080701","20090211","20131018","20140107","20141113","20150729","20151123","20160212","20160807","20160810","20170516","20171018","20180130","20180813","20190722","20200518","20201115","20210307","20211205","20220320","20220320.0.0"]},{"source":"osv","ecosystem":"Root:Maven","package":"org.json:json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20220320-aikido.1"},{"fixed":"20220320-aikido.2"}]}]},{"source":"osv","ecosystem":"Root:Maven","package":"io.root.org.json:json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20220320-root.io.1"},{"fixed":"20220320-root.io.2"},{"fixed":"20230227-root.io.1"},{"fixed":"20230227-root.io.2"},{"fixed":"20230227-root.io.3"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"json-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20240303-1.1"}]}]}],"products":[{"vendor":"hutool","product":"hutool"},{"vendor":"stleary","product":"json-java"}],"references":[{"url":"https://github.com/dromara/hutool/issues/2748","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/stleary/JSON-java/issues/708","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45688","tags":["advisory"]},{"url":"https://github.com/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102","tags":["web"]},{"url":"https://github.com/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c","tags":["web"]},{"url":"https://github.com/dromara/hutool/releases/tag/5.8.25","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3vqj-43w4-2q58","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45688.json","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CPXVMN6X4RPEHLH2O4TFRFOIFWVEEBUM/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-45688","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-45688","description":"A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.","status":"published","published":"2022-12-13T00:00:00Z","modified":"2025-04-22T03:10:13.246Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:34:31.840191Z"}],"euvd":[{"id":"EUVD-2022-7491","description":"A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.","status":"published","published":"2022-12-13T00:00:00Z","modified":"2025-04-22T03:10:13Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:17.705566Z"}],"ghsa":[{"id":"GHSA-3vqj-43w4-2q58","title":"json stack overflow vulnerability","description":"A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json before version 20230227 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.","status":"published","published":"2022-12-13T15:30:26Z","modified":"2024-04-15T20:28:48Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:37:43.62603Z"}],"nvd":[{"id":"CVE-2022-45688","description":"A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.","status":"published","published":"2022-12-13T15:15:11.267Z","modified":"2026-06-17T05:10:35.13Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:33.649381Z"}],"osv":[{"id":"CVE-2022-45688","description":"A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.","status":"published","published":"2022-12-13T00:00:00Z","modified":"2026-10-28T02:30:22.980543164Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:27.481647Z"},{"id":"GHSA-3vqj-43w4-2q58","title":"json stack overflow vulnerability","description":"A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json before version 20230227 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.","status":"published","published":"2022-12-13T15:30:26Z","modified":"2026-09-10T03:49:56.121752476Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:46:36.092962Z"},{"id":"RHLW-2026-1da18ff8e343fdf8","title":"Lightwell Security Advisory: json 20220320.0.0.rhlw-00003","description":"Red Hat Lightwell has released org.json:json 20220320.0.0.rhlw-00003 with a backported security fix.\n\nCVE-2022-45688: A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.\n\nThis patched artifact is a drop-in replacement for org.json:json 20220320.0.0 from Maven Central.","status":"published","published":"2026-10-08T19:46:23Z","modified":"2026-10-27T04:00:07.35366621Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:58.636919Z"},{"id":"CLSA-2025-1760313982","title":"TuxCare security update for org.json:json (1 CVE)","description":"TuxCare rebuilt org.json:json to address 1 CVE. Fixed in 20140107-tuxcare.1.","status":"published","published":"2026-08-04T14:52:05Z","modified":"2026-10-15T09:46:10.776031791Z","updated_at":"2026-11-02T15:43:42.427288Z"},{"id":"CLSA-2025-1760313984","title":"TuxCare security update for org.json:json (1 CVE)","description":"TuxCare rebuilt org.json:json to address 1 CVE. Fixed in 20090211-tuxcare.1.","status":"published","published":"2026-08-04T14:52:05Z","modified":"2026-10-15T09:46:12.381802751Z","updated_at":"2026-11-02T15:43:42.427288Z"},{"id":"CLSA-2026-1794152335","title":"TuxCare security update for org.json:json (1 CVE)","description":"TuxCare rebuilt org.json:json to address 1 CVE. Fixed in 20210307-tuxcare.1.","status":"published","published":"2026-11-08T16:38:55Z","modified":"2026-11-08T19:30:02.427807818Z","updated_at":"2026-11-08T19:39:23.584635Z"},{"id":"openSUSE-SU-2024:14371-1","title":"json-java-20240303-1.1 on GA media","description":"These are all security issues fixed in the json-java-20240303-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-09-27T00:00:00Z","modified":"2026-02-04T02:44:47.77355Z","updated_at":"2026-11-02T16:58:36.976155Z"},{"id":"ROOT-APP-MAVEN-CVE-2022-45688","title":"CVE-2022-45688 in org.json:json - Patched by Root","description":"Root has patched CVE-2022-45688 in the org.json:json package for Root:Maven. Multiple fixed versions available.","status":"published","published":"2026-08-12T12:49:10Z","modified":"2026-08-12T13:45:03.343011468Z","updated_at":"2026-11-02T15:53:27.066589Z"}]}}
