CVE-2026-112052 PUBLISHED

libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing

Assigner: VulnCheck
Reserved: 18.10.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor SpatiaLite
Product libspatialite
Versions Default: unaffected
  • affected from 0 to 5.1.0 (incl.)

Credits

  • HaiND from the Post and Telecommunication Institute of Technology finder

References

Problem Types

  • Integer Overflow or Wraparound CWE