CVE-2026-112048
libspatialite through 5.1.0 fails to validate the polygon ring …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- hackmd.io/@haindpwn/libspatialite-wkb-geometry-count-overflow
- www.gaia-gis.it/fossil/libspatialite/file?name=src/gaiageo/gg_wkb.c&ci=5a5528e8d2
- www.vulncheck.com/advisories/libspatialite-through-5.1.0-uncontrolled-memory-allocation-vi
- nvd.nist.gov/vuln/detail/CVE-2026-112048
- cve.org/CVERecord?id=CVE-2026-112048
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.