What it is
CVE-2023-25158 is an unauthenticated Unfiltered SQL Injection in Geotools. GeoTools is an open source Java library that provides tools for geospatial data.
Vulnerability Intelligence
Unfiltered SQL Injection in Geotools
Geotools · >= 28.0, < 28.2
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
Review EvidenceDecision summary
Direct answers before the deeper technical record.
What it is
CVE-2023-25158 is an unauthenticated Unfiltered SQL Injection in Geotools. GeoTools is an open source Java library that provides tools for geospatial data.
Have exploitation attempts been observed?
Yes. Exploitation attempts have been reported for this vulnerability. Previdian lists it as a known exploited vulnerability. Also reported by third-party sources. Confidence is high.
Who is affected?
geotools, including >= 28.0, < 28.2 and affected before 27.4.
What should we do?
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
Overview
GeoTools is an open source Java library that provides tools for geospatial data. GeoTools includes support for OGC Filter expression language parsing, encoding and execution against a range of datastore. SQL Injection Vulnerabilities have been found when executing OGC Filters with JDBCDataStore implementations.
Users are advised to upgrade to either version 27.4 or to 28.2 to resolve this issue. Users unable to upgrade may disable `encode functions` for PostGIS DataStores or enable `prepared statements` for JDBCDataStores as a partial mitigation.
Exploitation evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
The Shadowserver
A trusted third party reported exploitation attempts.
Per-source evidence links for KEV attestations are available through the Previdian API.
Request a Demo| Source | Added |
|---|---|
| The Shadowserver First | 2026-08-19 00:00 UTC |
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
No scanner integrations recorded yet.
No Previdian virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.
Learn about virtual patches →No detection artifacts or sensor request patterns are available for this CVE yet.
Check back as sensor telemetry and scanner integrations are updated.
Risk and context
CVSS v3.1
Potential damage if exploited. Separate from whether attackers are using it.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3%
Estimated chance of exploitation in the next 30 days. Previdian's warning comes from evidence, not this score.
API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/enterprise/kevs/CVE-2023-25158
Sample API response{
"cve_id": "CVE-2023-25158",
"confidence": "High",
"cvss_score": 9.8,
"cvss_estimated": false,
"epss_score": 0.01278,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "attempts": 0, "sensors": 0 }
}
Timeline
00:00 UTC
High-confidence, third-party report of exploitation attempts
20:57 UTC
Vulnerability disclosed publicly
16:59 UTC
Identifier reserved by the CNA