CVE-2022-24816: OSGeo GeoServer JAI-EXT Code Injection Vulnerability
CVE-2022-24816 is a critical-severity flaw (CVSS 10.0) affecting jai-ext, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request can lead to a Remote Code Execution as the Jiffle script is compiled into Java code via Janino, and executed. In particular, this affects the downstream GeoServer project. Version 1.2.22 will contain a patch that disables the ability to inject malicious code into the resulting script. Users
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.9% (top 1%) |
| CISA exploited list | Yes, fix due 2024-07-17 |
| Weakness | CWE-94 |
| Published | 2022-04-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: c1ph3rbyt3/CVE-2022-24816 (1 stars)
- Nuclei scan template: GeoServer <1.2.2 - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-24816?
jai-ext: upgrade to 1.1.22. Exact commands for each OS are on this page.
Is CVE-2022-24816 being exploited?
Yes. CVE-2022-24816 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-24816 affect?
CVE-2022-24816 affects jai-ext. Severity is critical (CVSS 10.0). JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request can lead to a Remote Code Execution as the Jiffle script is compiled into Java co
How urgent is CVE-2022-24816?
Priority 93/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action