{"id":"CVE-2026-112048","revision":"e8561795456d46c3b30b1c3dc7420349","records":[{"revision":"e8561795456d46c3b30b1c3dc7420349","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-112048","aliases":[],"title":"libspatialite through 5.1.0 Uncontrolled Memory Allocation via ParseWkbPolygon Ring Count","description":"libspatialite through 5.1.0 fails to validate the polygon ring count in ParseWkbPolygon, allowing attackers to trigger uncontrolled interior-ring allocation via crafted geometry BLOBs. Attackers can supply a crafted polygon in a SpatiaLite database or ST_GeomFromWKB input to crash the process or corrupt heap memory on 32-bit builds.","state":0,"publishedAt":"2026-10-18T12:19:36.94+00:00","modifiedAt":"2026-10-20T15:31:53.762+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-uncontrolled-memory-allocation-via-parsewkbpolygon-ring-count"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112048","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112048","identifiers":["CVE-2026-112048"]},"retained":false,"historicalAffected":[]}],"coverage":[]}