cve.bz

CVE-2017-18359 Improper Input Validation

7.5 highExploit referenceEPSS 3.0%Fix available

High (7.5). EPSS 3.0% estimated probability of exploitation activity in the next 30 days.

On this page
PostGIS 2.x before 2.3.3, as used with PostgreSQL, allows remote attackers to cause a denial of service via crafted ST_AsX3D function input, as demonstrated by an abnormal server termination for "SELECT ST_AsX3D('LINESTRING EMPTY');" because empty geometries are mishandled.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-18359 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-18359?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-18359?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-18359 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgis:postgisfrom 2.0.0 before 2.3.3
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8postgis2.1.4+dfsg-3+deb8u1DLA-1653-1
Debian9postgis2.3.1+dfsg-2+deb9u1DLA-2857-1
Debian12, 13, 14postgis2.3.3+dfsg-1DEBIAN-CVE-2017-18359
Ubuntu14.04:LTSpostgis2.1.2+dfsg-2ubuntu0.2UBUNTU-CVE-2017-18359
Ubuntu16.04:LTSpostgis2.2.1+dfsg-2ubuntu0.1UBUNTU-CVE-2017-18359
SUSEPackage Hub 15 SP4librttopo1.1.0-bp154.2.3.1openSUSE-SU-2022:10042-1
openSUSELeap 15.4librttopo1.1.0-bp154.2.3.1openSUSE-SU-2022:10042-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON