CVE-2026-112052
published medium CVSS 4.0 · 6.9libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SpatiaLite | — | libspatialite0 through 5.1.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SpatiaLite | libspatialite | 0 through 5.1.0 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-190 Integer Overflow or Wraparound
References
4- https://hackmd.io/@haindpwn/cve-2026-112048-112052-libspatialite-wkb-geometry-count-overflow
- https://hackmd.io/@haindpwn/libspatialite-wkb-geometry-count-overflow
- https://www.gaia-gis.it/fossil/libspatialite/file?name=src/gaiageo/gg_wkb.c&ci=5a5528e8d2
- VulnCheck Advisory: libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing https://www.vulncheck.com/advisories/libspatialite-through-5.1.0-integer-overflow-in-wkb-geometry-parsing
Provider assertions
2VulnCheck · cna
libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ff96e31fd36be97cfc6b4c92124ec13cfa11324dd81ce2d88aadbfcd5efd6352
- Ingested
- 19 Oct 2026, 18:06:55 UTC
- Source record
- Official CVE record