{"id":"CVE-2026-112052","aliases":["DEBIAN-CVE-2026-112052","EUVD-2026-103514","GHSA-8jmj-j7pf-v8j3","UBUNTU-CVE-2026-112052"],"status":"published","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.","severity":{"version":"4.0","score":6.9,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00182,"percentile":0.07887,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-190"],"published":"2026-10-18T12:19:43Z","modified":"2026-10-28T20:15:43Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.1-3","5.1.0-1","5.1.0-1.1~exp1","5.1.0-1~exp1","5.1.0-2","5.1.0-2~exp1","5.1.0-3","5.1.0-4","5.1.0~rc0-1~exp1","5.1.0~rc1-1~exp1"]},{"source":"osv","ecosystem":"Debian:13","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.0-3","5.1.0-4"]},{"source":"osv","ecosystem":"Debian:14","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.0-3","5.1.0-4"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.0~rc2-2","3.1.0~rc2-2ubuntu1","4.1.1-5ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.0-3","4.3.0a-1","4.3.0a-2","4.3.0a-3","4.3.0a-4","4.3.0a-5"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.0a-5build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.0a-6","4.3.0a-6build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.1-2build1","5.0.1-2build2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.0-1","5.1.0-3","5.1.0-3build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.0-3ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"spatialite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.0-3ubuntu1","5.1.0-3ubuntu2"]}],"products":[{"vendor":"spatialite","product":"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\u0026ci=5a5528e8d2","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libspatialite-through-5.1.0-integer-overflow-in-wkb-geometry-parsing","tags":["third-party-advisory"]},{"url":"https://hackmd.io/@haindpwn/cve-2026-112048-112052-libspatialite-wkb-geometry-count-overflow","tags":["exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112052"},{"url":"https://github.com/advisories/GHSA-8jmj-j7pf-v8j3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-112052","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-112052","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-112052","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-112052","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.","status":"published","published":"2026-10-18T12:19:43.85Z","modified":"2026-10-19T18:01:10.776Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T13:44:51.734189Z"}],"euvd":[{"id":"EUVD-2026-103514","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.","status":"published","published":"2026-10-18T12:19:43Z","modified":"2026-10-19T18:01:10Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"updated_at":"2026-11-02T16:59:50.463489Z"}],"ghsa":[{"id":"GHSA-8jmj-j7pf-v8j3","title":"libspatialite through 5.1.0 contains an integer overflow vulnerability in the WKB point and...","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.","status":"published","published":"2026-10-18T15:30:29Z","modified":"2026-10-19T18:32:06Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:13:57.629988Z"}],"nvd":[{"id":"CVE-2026-112052","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.","status":"published","published":"2026-10-18T13:16:37.337Z","modified":"2026-10-19T21:14:14.15Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:13:00.123071Z"}],"osv":[{"id":"DEBIAN-CVE-2026-112052","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.","status":"published","published":"2026-10-18T13:16:37.337Z","modified":"2026-10-23T18:05:33.055973418Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:45:49.824149Z"},{"id":"UBUNTU-CVE-2026-112052","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.","status":"published","published":"2026-10-18T13:16:00Z","modified":"2026-10-28T20:15:43.942538977Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium"},{"version":"4.0","score":6.9,"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","level":"medium"}],"updated_at":"2026-11-02T16:55:59.591851Z"}]}}
