Use After Free in Osgeo Shapelib
CVE-2022-0699
A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases. This issue may allow an attacker to cause a denial of service or have other unspecified impact via control over malloc.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.017, 77.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Osgeo Shapelib
- Shapelib — versions shapelib 1.5.0 and older releases
Weakness classification (CWE)
References
- github.com/OSGeo/shapelib/issues/39 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2026/01/msg00023.html