{"id":"CVE-2022-0699","details":"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.","modified":"2026-04-16T00:08:43.232111495Z","published":"2022-10-17T16:15:20.567Z","related":["openSUSE-SU-2022:0068-1","openSUSE-SU-2024:11863-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00023.html"},{"type":"ADVISORY","url":"https://github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f"},{"type":"ADVISORY","url":"https://github.com/OSGeo/shapelib/issues/39"},{"type":"REPORT","url":"https://github.com/OSGeo/shapelib/issues/39"},{"type":"FIX","url":"https://github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f"},{"type":"EVIDENCE","url":"https://github.com/OSGeo/shapelib/issues/39"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/osgeo/shapelib","events":[{"introduced":"0"},{"fixed":"c75b9281a5b9452d92e1682bdfe6019a13ed819f"}]}],"versions":["v1.5.0"],"database_specific":{"vanir_signatures":[{"signature_type":"Function","id":"CVE-2022-0699-836bb0c7","digest":{"function_hash":"83108686154979985158517561713373035900","length":748},"deprecated":false,"target":{"function":"split","file":"contrib/shpsort.c"},"signature_version":"v1","source":"https://github.com/osgeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f"}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0699.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}