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.
Published: 2026-10-18
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service / Heap Corruption
Action: Immediate Patch
AI Analysis

Impact

libspatialite through version 5.1.0 contains an integer overflow flaw (CWE‑190) and an out‑of‑bounds read vulnerability (CWE‑125) in the WKB geometry parsing routines. The overflow is triggered when the library parses a geometry blob with a point or vertex count larger than the internal guard, causing out‑of‑bounds reads. An attacker that can supply a crafted geometry BLOB—such as one stored in a SpatiaLite database—can trigger a crash or corrupt heap memory on 32‑bit builds, leading to service disruption or integrity violations.

Affected Systems

The vulnerable component is libspatialite from the SpatiaLite project. Versions 5.1.0 and earlier are affected, with 32‑bit platforms exhibiting the strongest manifestation. The flaw is exercised during normal parsing of WKB geometries, which can occur when opening or querying a database file.

Risk and Exploitability

The CVSS base score of 6.9 denotes moderate severity. No EPSS value is available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to provide a malicious geometry blob, which could be delivered via a crafted database file or through an application that loads untrusted data with libspatialite. The integer overflow and resulting out‑of‑bounds read can compromise application stability and memory, delivering denial of service or potential integrity compromise.

Generated by OpenCVE AI on October 19, 2026 at 01:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update libspatialite to a version newer than 5.1.0 where the integer overflow has been fixed.
  • If an update is not immediately available, disable or restrict the loading of WKB geometries from untrusted sources, or validate geometry data against length limits before parsing.
  • Monitor and audit database files for unusually large geometry blobs and avoid processing them.

Generated by OpenCVE AI on October 19, 2026 at 01:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Spatialite
Spatialite libspatialite
Vendors & Products Spatialite
Spatialite libspatialite

Mon, 19 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

threat_severity

Moderate


Sun, 18 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6.9, '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'}


Subscriptions

Spatialite Libspatialite
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-19T18:01:10.776Z

Reserved: 2026-10-18T11:54:34.485Z

Link: CVE-2026-112052

cve-icon Vulnrichment

Updated: 2026-10-19T18:01:04.500Z

cve-icon NVD

Status : Deferred

Published: 2026-10-18T13:16:37.337

Modified: 2026-10-19T21:14:14.150

Link: CVE-2026-112052

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T12:19:43Z

Links: CVE-2026-112052 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T17:02:11Z

Weaknesses