{"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-10-28T10:28:19.991532561Z","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":{"extracted_events":[{"cpe":"cpe:2.3:a:osgeo:shapelib:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"last_affected":"1.5.0"}],"source":"CPE_RANGE"},{"range":[{"fixed":"c75b9281a5b9452d92e1682bdfe6019a13ed819f"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0699.json","vanir_signatures":[{"target":{"file":"contrib/shpsort.c","function":"split"},"deprecated":false,"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"}],"vanir_signatures_modified":"2026-10-28T10:28:19Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}