Servers and applications
GHSA-cp3h-jjxp-9pvr
Out-of-bound buffer read in ST_NumPoints() and ST_NumGeometries() of a truncated WKB
- Severity
- Medium 4.3
- Published
- 13 Nov 2026
- Last changed
- 13 Nov 2026
- Added to UpHeron
- 13 Nov 2026
- Weakness
- Out-of-bounds read (CWE-125)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Sources
- Project advisories (GitHub)
Description
GIS functions, such as ST_NumPoints(), ST_NumGeometries() and ST_IsValid(), did not verify that a LineString, MultiPoint, MultiLineString or MultiPolygon in WKB format was long enough to contain the number of elements. For a truncated WKB value they read 4 bytes beyond the end of the buffer, and ST_NumPoints() and ST_NumGeometries() returned these bytes to the user.
Workarounds
There is no workaround.
Affected software
| Software | Affected versions |
|---|---|
MariaDBServers and applications · github:mariadb/server |
|
References
- GitHub Advisory Database https://github.com/advisories/GHSA-cp3h-jjxp-9pvr
- github.com https://github.com/MariaDB/server/security/advisories/GHSA-cp3h-jjxp-9pvr