---
id: "CVE-2022-24816"
kind: "vulnerability"
aliases: ["CVE-2022-24816"]
title: "geosolutionsgroup jai-ext: JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API"
severity: "critical"
cvss: 10.0
epss: null
exploited: true
status: "open"
category: "package"
products: [{"name": "OSGeo JAI-EXT", "fixed": [], "affected": "", "ecosystem": "vendor"}, {"name": "geosolutionsgroup jai-ext", "fixed": ["1.1.22"], "affected": "< 1.1.22", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "geoserver", "jai-ext", "java", "jt-jiffle", "package"]
not_affected_if: ["jt-jiffle-absent", "no-jiffle-scripts-from-network"]
published_at: "2022-04-13T21:15:07+00:00"
first_seen_at: "2026-10-23T19:11:51+00:00"
updated_at: "2026-10-23T22:29:05+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-24816", "first_seen_at": "2026-10-23T19:11:51+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24816", "first_seen_at": "2026-10-23T22:29:05+00:00"}]
---

# geosolutionsgroup jai-ext: JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API

OSGeo JAI-EXT, the image-processing library used by GeoServer, has a code injection flaw in its jt-jiffle component when Jiffle scripts are accepted from network requests. An attacker who can send such a request can run code on the server.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:OSGeo JAI-EXT affected ? fixed ?
- vendor:geosolutionsgroup jai-ext affected < 1.1.22 fixed 1.1.22

## How to check

Check whether your GeoServer or application depends on jt-jiffle (for example, search your dependency tree or WEB-INF/lib for jt-jiffle jars).

## Fix

Apply the vendor mitigations referenced by CISA, or stop using the affected product if no mitigation is available.

## Timeline

- 2026-10-23T19:11:51+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-24816
- 2026-10-23T22:29:05+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2022-24816

## From the sources

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 unable to upgrade may negate the ability to compile Jiffle scripts from the final application, by removing janino-x.y.z.jar from the classpath.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
