Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-112052 EUVD-2026-103514GHSA-8jmj-j7pf-v8j3

libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing

Published Oct 18, 2026 · Updated Oct 19, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
SpatiaLite libspatialite ≤ 5.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 spatialite No fix yet —
Debian 13 spatialite No fix yet —
Debian 12 spatialite No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 spatialite No fix yet —
Ubuntu 26.04 LTS spatialite No fix yet —
Ubuntu 24.04 LTS spatialite No fix yet —
Ubuntu 22.04 LTS spatialite No fix yet —
Ubuntu 20.04 LTS spatialite No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS spatialite No fix yet —
Ubuntu 16.04 LTS spatialite No fix yet —
Ubuntu 14.04 LTS spatialite No fix yet —

References