Skip to content
Emerging threatsCritical

CVE-2024-36404geotools Vulnerability

GeoTools Remote Code Execution (RCE) vulnerability in evaluating XPath expressions

Published Jul 2, 2024 · Updated Oct 28, 2026 · Also known as GHSA-w3pj-wh35-fq8w

Key Facts

Patch immediately
  • CVE-2024-36404 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting org.geotools:gt-app-schema (maven), org.geotools:gt-complex (maven), org.geotools.xsd:gt-xsd-core (maven) and 1 more product.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 76% probability of exploitation in the next 30 days.
  • Fixed versions are available, including org.geotools:gt-app-schema 28.6, org.geotools:gt-app-schema 29.6, org.geotools:gt-app-schema 30.4.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

76%

Higher than 99.5% of all scored CVEs

Exploit maturity

None known

ATLAS score

35/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

GeoTools is an open source Java library that provides tools for geospatial data. Prior to versions 31.2, 30.4, and 29.6, Remote Code Execution (RCE) is possible if an application uses certain GeoTools functionality to evaluate XPath expressions supplied by user input. Versions 31.2, 30.4, and 29.6 contain a fix for this issue. As a workaround, GeoTools can operate with reduced functionality by removing the gt-complex jar from one's application. As an example of the impact, application schema datastore would not function without the ability to use XPath expressions to query complex content. Alternatively, one may utilize a drop-in replacement GeoTools jar from SourceForge for versions 31.1, 30.3, 30.2, 29.2, 28.2, 27.5, 27.4, 26.7, 26.4, 25.2, and 24.0. These jars are for download only and are not available from maven central, intended to quickly provide a fix to affected applications.

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
org.geotools:gt-app-schemamaven>= 30.028.6
org.geotools:gt-complexmaven>= 30.028.6
org.geotools.xsd:gt-xsd-coremaven>= 30.028.6
geotools< 29.6n/a

Patched Releases

org.geotools:gt-app-schema

28.6, 29.6, 30.4, 31.2

org.geotools:gt-complex

28.6, 29.6, 30.4, 31.2

org.geotools.xsd:gt-xsd-core

28.6, 29.6, 30.4, 31.2

Timeline

  1. Publicly disclosed

    Jul 2, 2024

  2. Last updated

    Oct 28, 2026

Weakness Type

  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code

FAQ

Common Questions.

Is CVE-2024-36404 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.