{"id":"CVE-2026-112048","state":"PUBLISHED","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.","publishedAt":"2026-10-18T12:19:36.940Z","updatedAt":"2026-10-20T15:31:53.762Z","severity":{"score":6.9,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["SpatiaLite libspatialite"],"affected":[{"vendor":"SpatiaLite","product":"libspatialite","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.1.0","versionType":"custom"}],"collectionURL":"https://www.gaia-gis.it/fossil/libspatialite","repo":"https://www.gaia-gis.it/fossil/libspatialite"}],"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"],"weaknesses":["CWE-789"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/112xxx/CVE-2026-112048.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-112048","state":"PUBLISHED","datePublished":"2026-10-18T12:19:36.940Z","dateUpdated":"2026-10-20T15:31:53.762Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-18T11:48:36.083Z"},"containers":{"cna":{"title":"libspatialite through 5.1.0 Uncontrolled Memory Allocation via ParseWkbPolygon Ring Count","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"SpatiaLite","product":"libspatialite","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.1.0","versionType":"custom"}],"collectionURL":"https://www.gaia-gis.it/fossil/libspatialite","repo":"https://www.gaia-gis.it/fossil/libspatialite"}],"references":[{"url":"https://hackmd.io/@haindpwn/libspatialite-wkb-geometry-count-overflow","tags":["third-party-advisory"]},{"url":"https://www.gaia-gis.it/fossil/libspatialite/file?name=src/gaiageo/gg_wkb.c&ci=5a5528e8d2","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libspatialite-through-5.1.0-uncontrolled-memory-allocation-via-parsewkbpolygon-ring-count","name":"VulnCheck Advisory: libspatialite through 5.1.0 Uncontrolled Memory Allocation via ParseWkbPolygon Ring Count","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","lang":"en","description":"Memory Allocation with Excessive Size Value","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-18T12:19:36.940Z"},"datePublic":"2026-10-17T17:52:48.000Z","credits":[{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://hackmd.io/@haindpwn/libspatialite-wkb-geometry-count-overflow","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-20T15:31:34.375952Z","id":"CVE-2026-112048","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-20T15:31:53.762Z"}}]}}}