CVE-2026-112052
libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing
SpatiaLite libspatialite
CVSS
6.9MediumExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 19 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.12%Chance of exploitation activity in the next 30 days, higher than 1% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- libspatialiteaffected: all versions through 5.1.0CVE List
References 4
- hackmd.io/@haindpwn/libspatialite-wkb-geometry-count-overflowAdvisoryvia CVE List
- vulncheck.com/advisories/libspatialite-through-5.1.0-integer-overflow-in-wkb-geometry-parsingAdvisoryvia CVE List
- hackmd.io/@haindpwn/cve-2026-112048-112052-libspatialite-wkb-geometry-count-overflowExploitvia CVE List
- gaia-gis.it/fossil/libspatialite/file?name=src/gaiageo/gg_wkb.c&ci=5a5528e8d2Referencevia CVE List