CVE-2026-112052
libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
libspatialite through 5.1.0 contains an integer overflow vulnerability in the WKB point and vertex count size guard of ParseWkbLine and related parsers in gg_wkb.c, allowing out-of-bounds reads. Attackers can supply a crafted geometry BLOB with a large point count, for example in a SpatiaLite database file, to crash the process or corrupt heap memory on 32-bit builds.
| CWE | CWE-190 |
| Vendor | spatialite |
| Product | libspatialite |
| Published | Oct 18, 2026 |
Stay Ahead of the Next One
Get instant alerts for spatialite libspatialite
Be the first to know when new medium vulnerabilities affecting spatialite libspatialite are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
Affected Versions
SpatiaLite / libspatialite
0 โค 5.1.0
References
hackmd.io: https://hackmd.io/@haindpwn/libspatialite-wkb-geometry-count-overflow gaia-gis.it: https://www.gaia-gis.it/fossil/libspatialite/file?name=src/gaiageo/gg_wkb.c&ci=5a5528e8d2 vulncheck.com: https://www.vulncheck.com/advisories/libspatialite-through-5.1.0-integer-overflow-in-wkb-geometry-parsing
Credits
HaiND from the Post and Telecommunication Institute of Technology