CVE-2026-112052libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | spatialite | Fix pending | UBUNTU-CVE-2026-112052 | |
| Ubuntu 26.04 | spatialite | Under investigation | UBUNTU-CVE-2026-112052 | |
| Ubuntu 24.04 | spatialite | Under investigation | UBUNTU-CVE-2026-112052 | |
| Ubuntu 22.04 | spatialite | Under investigation | UBUNTU-CVE-2026-112052 | |
| Ubuntu 20.04 | spatialite | Fix pending | UBUNTU-CVE-2026-112052 | |
| Ubuntu 18.04 | spatialite | Fix pending | UBUNTU-CVE-2026-112052 | |
| Ubuntu 16.04 | spatialite | Fix pending | UBUNTU-CVE-2026-112052 | |
| Ubuntu 14.04 | spatialite | Fix pending | UBUNTU-CVE-2026-112052 | |
| Debian 14 | spatialite | Fix pending | DEBIAN-CVE-2026-112052 | |
| Debian 13 | spatialite | Fix pending | DEBIAN-CVE-2026-112052 | |
| Debian 12 | spatialite | Fix pending | DEBIAN-CVE-2026-112052 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- SpatiaLite libspatialite: affected: up to 5.1.0
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.