CVE-2026-112052: Integer Overflow or Wraparound in SpatiaLite libspatialite
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.
CVSS v4.0
Score 6.9medium
Affected software
SpatiaLite
libspatialite
pkg:github/spatialite/libspatialiteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-112052 is an integer overflow or wraparound vulnerability in libspatialite versions up to 5.1.0. The issue occurs in the WKB point and vertex count size guard within the ParseWkbLine function and related parsers in gg_wkb.c. An attacker can supply a specially crafted geometry BLOB containing a large point count, such as in a SpatiaLite database file, which triggers out-of-bounds reads. On 32-bit builds, this can lead to process crashes or heap memory corruption.
Potential Impact
The vulnerability can cause denial of service through process crashes or memory corruption on 32-bit systems when processing maliciously crafted geometry data. There is no indication of privilege escalation or remote code execution. The CVSS 4.0 score is 6.9 (medium severity), reflecting local attack vector with low complexity and no privileges required but requiring user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted SpatiaLite database files containing geometry BLOBs with large point counts, especially on 32-bit systems.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-18T11:54:34.485Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad4bcc12cdf04f656692485
Added to database: 10/18/2026, 12:34:09 UTC
Last enriched: 10/18/2026, 12:48:39 UTC
Last updated: 10/18/2026, 20:11:59 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.