{"id":"CVE-2026-112052","revision":"3aa13fcd79e94fd2a412e0e6bff34069","records":[{"revision":"3aa13fcd79e94fd2a412e0e6bff34069","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-112052","aliases":[],"title":"libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing","description":"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.","state":0,"publishedAt":"2026-10-18T12:19:43.85+00:00","modifiedAt":"2026-10-19T18:01:10.776+00:00","affected":[{"ecosystem":"https://www.gaia-gis.it/fossil/libspatialite","name":"libspatialite","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"SpatiaLite\",\n                    \"product\": \"libspatialite\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"5.1.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://www.gaia-gis.it/fossil/libspatialite\",\n                    \"repo\": \"https://www.gaia-gis.it/fossil/libspatialite\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112052","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112052","identifiers":["CVE-2026-112052"]},"retained":false,"historicalAffected":[]}],"coverage":[]}