Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| SpatiaLite / libspatialite | affected 0 through 5.1.0 |
CWE
CWE-190
References
- https://hackmd.io/@haindpwn/libspatialite-wkb-geometry-count-overflow
- https://www.gaia-gis.it/fossil/libspatialite/file?name=src/gaiageo/gg_wkb.c&ci=5a5528e8d2
- https://www.vulncheck.com/advisories/libspatialite-through-5.1.0-integer-overflow-in-wkb-geometry-parsing
ADP enrichment
No English description supplied.