Skip to main content

CVE-2026-112048: Memory Allocation with Excessive Size Value in SpatiaLite libspatialite

0
Medium
VulnerabilityCVE-2026-112048cvecve-2026-112048
Published: 10/18/2026 (10/18/2026, 12:19:36 UTC)
Source: CVE Database V5
Vendor/Project: SpatiaLite
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

SpatiaLite

libspatialite

Affected versions
>=0 <=5.1.0
libspatialite
pkg:deb/libspatialite
Affected versions
>=0 <=5.1.0

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

AILast updated: 10/18/2026, 12:48:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses