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: n/a
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) 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 out‑of‑bounds read can cause a crash or corrupt application memory, delivering denial of service or potential integrity compromise.

Generated by OpenCVE AI on October 18, 2026 at 14:07 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 18, 2026 at 14:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-18T12:19:43.850Z

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

Link: CVE-2026-112052

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-112052

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T14:15:14Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound