CVE-2026-112048 PUBLISHED

libspatialite through 5.1.0 Uncontrolled Memory Allocation via ParseWkbPolygon Ring Count

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

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.

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

  • Memory Allocation with Excessive Size Value CWE