9.8

CVE-2024-36404: GeoTools Remote Code Execution (RCE) vulnerability in evaluating XPath expressions

Deferred
AliasesGHSA-w3pj-wh35-fq8w
Published 02-07-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-36404 is a critical (CVSS 9.8) vulnerability in geotools. EPSS estimates a 76.06% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 76% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
76.06%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 02-07-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

76.06%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 76.06% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Org.geotools2 products
  • gt-app-schema≥ 30.0, < 30.4 | ≥ 31.0, < 31.2 | ≥ 29.0, < 29.6 | < 28.6
  • gt-complex≥ 30.0, < 30.4 | ≥ 31.0, < 31.2 | ≥ 29.0, < 29.6 | < 28.6
Geotools1 product
  • geotools< 29.6 | ≥ 30.0, < 30.4 | ≥ 31.0, < 31.2
Org.geotools.xsd1 product
  • gt-xsd-core≥ 30.0, < 30.4 | ≥ 31.0, < 31.2 | ≥ 29.0, < 29.6 | < 28.6

3 vendors · 4 products

References

18 links
Show all 18 references