CVE-2026-112048: Memory Allocation with Excessive Size Value in SpatiaLite libspatialite
Description
CVE-2026-112048 is a medium severity vulnerability in libspatialite through version 5.1.0. The flaw involves improper validation of polygon ring counts in the ParseWkbPolygon function, which can lead to uncontrolled memory allocation. An attacker can exploit this by supplying crafted polygon data in a SpatiaLite database or via ST_GeomFromWKB input, potentially causing process crashes or heap memory corruption on 32-bit systems.
CVSS v4.0
Score 6.9medium
Affected software
SpatiaLite
libspatialite
Run 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
The vulnerability in libspatialite (up to version 5.1.0) arises from failure to validate the polygon ring count in the ParseWkbPolygon function. This allows attackers to trigger excessive interior-ring memory allocation by providing specially crafted geometry BLOBs. Exploitation can occur through crafted polygon inputs in SpatiaLite databases or ST_GeomFromWKB calls, leading to crashes or heap corruption on 32-bit builds. The CVSS 4.0 base score is 6.9, indicating a medium severity with local attack vector, low attack complexity, no privileges required, and user interaction needed.
Potential Impact
Successful exploitation can cause application crashes or heap memory corruption on 32-bit systems using vulnerable libspatialite versions. This may result in denial of service or potential memory corruption issues, but no direct code execution or data disclosure is indicated.
Mitigation Recommendations
No vendor advisory or patch information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted polygon data in libspatialite or restrict usage to trusted inputs.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-18T11:48:36.083Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad4bcc12cdf04f656692482
Added to database: 10/18/2026, 12:34:09 UTC
Last enriched: 10/18/2026, 12:48:46 UTC
Last updated: 10/18/2026, 12:49:08 UTC
Views: 5
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.