Home / Spring Framework / Spring Framework / CVE-2022-22965
CVE-2022-22965: is it exploited, and which versions of Spring Framework are affected and fixed?
CVE-2022-22965 is a code injection (remote code execution) vulnerability in Spring Framework, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on April 4, 2022, with a federal due date of April 25, 2022. Affected: org.springframework:spring-beans before 5.2.20.RELEASE, org.springframework:spring-beans from 5.3.0 before 5.3.18, org.springframework:spring-webmvc before 5.2.20.RELEASE and 7 more (GitHub advisory GHSA-36p3-wjmg-h94x). Fixed in 5.2.20.RELEASE, 5.3.18, 2.5.12 and 2.6.6 (GitHub advisory GHSA-36p3-wjmg-h94x). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:49 UTC.
What is CVE-2022-22965?
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
From the CVE record by vmware, last updated October 21, 2025, 23:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring Framework | Spring Framework versions 5.3.X prior to 5.3.18+, 5.2.x prior to 5.2.20+ and all |
As the CVE record by vmware states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework:spring-beans | < 5.2.20.RELEASE | 5.2.20.RELEASE | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework:spring-beans | >= 5.3.0, < 5.3.18 | 5.3.18 | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework:spring-webmvc | < 5.2.20.RELEASE | 5.2.20.RELEASE | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework:spring-webmvc | >= 5.3.0, < 5.3.18 | 5.3.18 | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework.boot:spring-boot-starter-web | < 2.5.12 | 2.5.12 | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework.boot:spring-boot-starter-web | >= 2.6.0, < 2.6.6 | 2.6.6 | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework:spring-webflux | < 5.2.20.RELEASE | 5.2.20.RELEASE | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework:spring-webflux | >= 5.3.0, < 5.3.18 | 5.3.18 | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework.boot:spring-boot-starter-webflux | < 2.5.12 | 2.5.12 | GHSA-36p3-wjmg-h94x |
| Maven | org.springframework.boot:spring-boot-starter-webflux | >= 2.6.0, < 2.6.6 | 2.6.6 | GHSA-36p3-wjmg-h94x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Remote Code Execution in Spring Framework.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vmware | spring framework | before 5.2.20 | application |
| vmware | spring framework | from 5.3.0 before 5.3.18 | application |
| cisco | cx cloud agent | before 2.1.0 | application |
| oracle | communications cloud native core automated test suite | 1.9.0 | application |
| oracle | communications cloud native core automated test suite | 22.1.0 | application |
| oracle | communications cloud native core console | 1.9.0 | application |
| oracle | communications cloud native core console | 22.1.0 | application |
| oracle | communications cloud native core network exposure function | 22.1.0 | application |
| oracle | communications cloud native core network function cloud native environment | 1.10.0 | application |
| oracle | communications cloud native core network function cloud native environment | 22.1.0 | application |
| oracle | communications cloud native core network repository function | 1.15.0 | application |
| oracle | communications cloud native core network repository function | 22.1.0 | application |
| oracle | communications cloud native core network slice selection function | 1.8.0 | application |
| oracle | communications cloud native core network slice selection function | 1.15.0 | application |
| oracle | communications cloud native core network slice selection function | 22.1.0 | application |
| oracle | communications cloud native core policy | 1.15.0 | application |
| oracle | communications cloud native core policy | 22.1.0 | application |
| oracle | communications cloud native core security edge protection proxy | 1.7.0 | application |
| oracle | communications cloud native core security edge protection proxy | 22.1.0 | application |
| oracle | communications cloud native core unified data repository | 1.15.0 | application |
| oracle | communications cloud native core unified data repository | 22.1.0 | application |
| oracle | communications policy management | 12.6.0.0.0 | application |
| oracle | financial services analytical applications infrastructure | 8.1.1 | application |
| oracle | financial services analytical applications infrastructure | 8.1.2.0 | application |
| oracle | financial services behavior detection platform | 8.1.1.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:29 UTC.
How severe is CVE-2022-22965?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-22965 exploited in the wild?
- CISA KEV
- Listed as Spring Framework JDK 9+ Remote Code Execution Vulnerability, added April 4, 2022; federal agencies must act by April 25, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, January 29, 2025)
- EPSS
- 99.6% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Where are the vendor advisories and references?
- https://tanzu.vmware.com/security/cve-2022-22965 x_refsource_MISC
- 20220401 Vulnerability in Spring Framework Affecting Cisco Products: March 2022 vendor-advisory, x_refsource_CISCO
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005 x_refsource_CONFIRM
- http://packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.html x_refsource_MISC
- https://cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- http://packetstormsecurity.com/files/167011/Spring4Shell-Spring-Framework-Class-Property-Remote-Code-Execution.html x_refsource_MISC
- https://www.kb.cert.org/vuls/id/970766
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22965 government-resource
When was it published, and where is the official record?
- Reserved
- January 10, 2022
- Published
- April 1, 2022, 22:17 UTC
- CVE record updated
- October 21, 2025, 23:15 UTC by vmware
- NVD
- Analyzed, last modified June 17, 2026, 04:29 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:49 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Spring Framework?
- Dec 19, 2024CVE-2024-38819 Spring Framework: path traversal (reading or writing files outside the intended folder)
- Sep 27, 2024CVE-2024-38809 Spring Framework: denial of service (uncontrolled resource consumption)
- Apr 13, 2023CVE-2023-20863 Spring Framework: denial of service (uncontrolled resource consumption)
- Mar 27, 2023CVE-2023-20860 Spring Framework: Potential for security bypass with Spring mvcRequestMatcher configuration
- Mar 23, 2023CVE-2023-20861 Spring Framework: denial of service (uncontrolled resource consumption)
- May 12, 2022CVE-2022-22971 Spring Framework: denial of service (resources allocated without limits)
- May 12, 2022CVE-2022-22970 Spring Framework: denial of service (resources allocated without limits)
- Apr 14, 2022CVE-2022-22968 Spring Framework: improper Handling of Case Sensitivity
Questions about CVE-2022-22965
Is CVE-2022-22965 exploited in the wild?
Yes. CISA added CVE-2022-22965 to its Known Exploited Vulnerabilities catalog on April 4, 2022 and set federal agencies a due date of April 25, 2022. FIRST's EPSS gives it a 99.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring Framework are affected by CVE-2022-22965?
org.springframework:spring-beans before 5.2.20.RELEASE, org.springframework:spring-beans from 5.3.0 before 5.3.18, org.springframework:spring-webmvc before 5.2.20.RELEASE, org.springframework:spring-webmvc from 5.3.0 before 5.3.18, org.springframework.boot:spring-boot-starter-web before 2.5.12, org.springframework.boot:spring-boot-starter-web from 2.6.0 before 2.6.6 and 4 more, per the GitHub advisory GHSA-36p3-wjmg-h94x. The tables above give every range the sources list.
Which version fixes CVE-2022-22965?
5.2.20.RELEASE, 5.3.18, 2.5.12 and 2.6.6, per the GitHub advisory GHSA-36p3-wjmg-h94x. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-22965?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-22965?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.