---
id: CVE-2022-24818
title: >-
  GeoTools is an open source Java library that provides tools for geospatial
  data
summary: >-
  GeoTools is an open source Java library that provides tools for geospatial
  data. The GeoTools library has a number of data sources that can perform
  unchecked JNDI lookups, which in turn can be used to perform class
  deserialization and re…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-20
  - CWE-917
vendor: osgeo
product: geotools
affected:
  - geotools < 24.6
  - 'geotools >= 25.0, < 25.6'
  - 'geotools >= 26.0, < 26.4'
patched:
  - geotools 26.4
published: '2022-04-13'
updated: '2026-11-30'
sourceUpdated: '2026-11-30T19:11:06.747'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-24818'
references:
  - url: >-
      https://github.com/geotools/geotools/commit/4f70fa3234391dd0cda883a20ab0ec75688cba49
    label: security-advisories@github.com
  - url: >-
      https://github.com/geotools/geotools/security/advisories/GHSA-jvh2-668r-g75x
    label: security-advisories@github.com
  - url: >-
      https://github.com/geotools/geotools/commit/4f70fa3234391dd0cda883a20ab0ec75688cba49
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/geotools/geotools/security/advisories/GHSA-jvh2-668r-g75x
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - exploit-available
epss: 0.0241
epssPercentile: 0.84577
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/mbadanoiu/CVE-2022-24818'
  checkedAt: '2026-12-02T21:37:15.392Z'
exploitAvailable: true
ingestedAt: '2026-11-30T19:45:10.586Z'
---

## Overview

GeoTools is an open source Java library that provides tools for geospatial data. The GeoTools library has a number of data sources that can perform unchecked JNDI lookups, which in turn can be used to perform class deserialization and result in arbitrary code execution. Similar to the Log4J case, the vulnerability can be triggered if the JNDI names are user-provided, but requires admin-level login to be triggered. The lookups are now restricted in GeoTools 26.4, GeoTools 25.6, and GeoTools 24.6. Users unable to upgrade should ensure that any downstream application should not allow usage of remotely provided JNDI strings.

## Affected

- `geotools < 24.6`
- `geotools >= 25.0, < 25.6`
- `geotools >= 26.0, < 26.4`

## Remediation

Upgrade past the affected range:

- `geotools 26.4`
