{"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-08-12T12:59:02.331407Z","published":"2022-10-17T00:00:00Z","related":["openSUSE-SU-2022:0068-1","openSUSE-SU-2024:11863-1"],"database_specific":{"cna_assigner":"fedora","cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0699.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00023.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0699.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0699"},{"type":"REPORT","url":"https://github.com/OSGeo/shapelib/issues/39"},{"type":"FIX","url":"https://github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/osgeo/shapelib","events":[{"introduced":"0"},{"fixed":"c75b9281a5b9452d92e1682bdfe6019a13ed819f"}],"database_specific":{"cpe":"cpe:2.3:a:osgeo:shapelib:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.5.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["shapelib 1.5.0 and older releases","v1.5.0"],"database_specific":{"vanir_signatures_modified":"2026-08-12T12:59:02Z","vanir_signatures":[{"digest":{"function_hash":"83108686154979985158517561713373035900","length":748},"id":"CVE-2022-0699-836bb0c7","signature_type":"Function","signature_version":"v1","source":"https://github.com/osgeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f","target":{"function":"split","file":"contrib/shpsort.c"},"deprecated":false}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0699.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}