# CVE-2026-112052: libspatialite through 5.1.0 Integer Overflow in WKB Geometry Parsing

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-18T12:19:43.850Z
- Modified: 2026-10-19T21:14:14.150Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- SpatiaLite libspatialite: up to 5.1.0

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://hackmd.io/@haindpwn/cve-2026-112048-112052-libspatialite-wkb-geometry-count-overflow> (exploit)
- <https://hackmd.io/@haindpwn/libspatialite-wkb-geometry-count-overflow> (third-party-advisory)
- <https://www.gaia-gis.it/fossil/libspatialite/file?name=src/gaiageo/gg_wkb.c&ci=5a5528e8d2> (technical-description)
- <https://www.vulncheck.com/advisories/libspatialite-through-5.1.0-integer-overflow-in-wkb-geometry-parsing> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-112052](https://www.cve.org/CVERecord?id=CVE-2026-112052), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-112052](https://nvd.nist.gov/vuln/detail/CVE-2026-112052), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-112052 · Whole record: https://cve.day/CVE-2026-112052.json · Rebuilt by cve.day 2026-11-25T22:59:45.176Z
