{"id":"CVE-2022-0699","aliases":["AZL-28599","AZL-37034","DEBIAN-CVE-2022-0699","DLA-4451-1","EUVD-2022-15776","GHSA-j5p4-42cc-2j44","MGASA-2022-0096","OESA-2022-1858","UBUNTU-CVE-2022-0699","USN-8992-1","openSUSE-SU-2022:0068-1","openSUSE-SU-2024:11863-1"],"status":"published","title":"A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases. This...","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0166,"percentile":0.76829,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415","CWE-416"],"published":"2022-03-02T21:21:32Z","modified":"2026-11-04T03:43:12Z","fixes":[{"ecosystem":"Azure Linux:2","package":"shapelib","fixed_in":["1.5.0-3"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"shapelib","fixed_in":["1.5.0-3"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"shapelib","fixed_in":["1.5.0-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"shapelib","fixed_in":["1.5.0-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"shapelib","fixed_in":["1.5.0-3"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"shapelib","fixed_in":["1.5.0-2+deb11u1"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"shapelib","fixed_in":["1.5.0-2.1.mga8"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"shapelib","fixed_in":["1.5.0-2.oe2203"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shapelib","fixed_in":["1.3.0-5ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"shapelib","fixed_in":["1.4.1-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"shapelib","fixed_in":["1.5.0-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"shapelib","fixed_in":["1.5.0-2+deb11u1build0.22.04.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"shapelib","fixed_in":["1.5.0-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"shapelib","fixed_in":["1.5.0-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"shapelib","fixed_in":["1.5.0-2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-3"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-3"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2+deb11u1"}]}],"versions":["1.5.0-2"]},{"source":"osv","ecosystem":"Mageia:8","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2.1.mga8"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2.oe2203"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-5ubuntu0.1~esm1"}]}],"versions":["1.3.0-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-1ubuntu0.1~esm1"}]}],"versions":["1.4.0-1","1.4.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-1ubuntu0.1~esm1"}]}],"versions":["1.5.0-1","1.5.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2+deb11u1build0.22.04.1"}]}],"versions":["1.5.0-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-5ubuntu0.1~esm1"}]}],"versions":["1.3.0-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-1ubuntu0.1~esm1"}]}],"versions":["1.4.0-1","1.4.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-1ubuntu0.1~esm1"}]}],"versions":["1.5.0-1","1.5.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2+deb11u1build0.22.04.1"}]}],"versions":["1.5.0-2"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"shapelib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2.1"}]}]}],"products":[{"vendor":"osgeo","product":"shapelib"}],"references":[{"url":"https://github.com/OSGeo/shapelib/issues/39","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f","tags":["x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00023.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0699","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-j5p4-42cc-2j44"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0699.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-0699","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0096.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30114","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/6B3VSER4WPCPULJGLJVI75SE2NKX4RQH/","tags":["web","advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1858","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-0699","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-0699","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8992-1","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1196236","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-0699","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-0699","description":"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.","status":"published","published":"2022-10-17T00:00:00Z","modified":"2026-01-24T21:03:54.738Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:34:41.69911Z"}],"euvd":[{"id":"EUVD-2022-15776","description":"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.","status":"published","published":"2022-10-17T00:00:00Z","modified":"2026-01-24T21:03:54Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:48:47.68467Z"}],"ghsa":[{"id":"GHSA-j5p4-42cc-2j44","title":"A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases. This...","description":"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.","status":"published","published":"2022-10-17T19:00:28Z","modified":"2026-01-24T21:30:23Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-415","CWE-416"],"updated_at":"2026-11-02T15:05:54.187658Z"}],"nvd":[{"id":"CVE-2022-0699","description":"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.","status":"published","published":"2022-10-17T16:15:20.567Z","modified":"2026-06-17T04:21:05.293Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-416","CWE-415"],"updated_at":"2026-11-02T14:07:30.6869Z"}],"osv":[{"id":"AZL-28599","title":"CVE-2022-0699 affecting package shapelib for versions less than 1.5.0-3","description":"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.","status":"published","published":"2022-10-17T16:15:20Z","modified":"2026-04-21T04:25:54.067089Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:03.46006Z"},{"id":"AZL-37034","title":"CVE-2022-0699 affecting package shapelib for versions less than 1.5.0-3","description":"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.","status":"published","published":"2022-10-17T16:15:20Z","modified":"2026-11-05T05:36:30Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-05T16:41:19.554273Z"},{"id":"CVE-2022-0699","description":"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.","status":"published","published":"2022-10-17T00:00:00Z","modified":"2026-10-28T10:28:19.991532561Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T15:44:22.824781Z"},{"id":"DEBIAN-CVE-2022-0699","description":"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.","status":"published","published":"2022-10-17T16:15:20.567Z","modified":"2026-11-03T08:00:58.04003594Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T08:25:01.007408Z"},{"id":"UBUNTU-CVE-2022-0699","description":"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.","status":"published","published":"2022-10-17T16:15:00Z","modified":"2026-11-04T03:30:05.299705972Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-04T03:56:45.249606Z"},{"id":"DLA-4451-1","title":"shapelib - security update","status":"published","published":"2026-01-24T00:00:00Z","modified":"2026-01-24T19:29:54.509825Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"MGASA-2022-0096","title":"Updated shapelib packages fix security vulnerability","description":"Double-free vulnerability in contrib/shpsort.c. (CVE-2022-0699)\n","status":"published","published":"2022-03-11T08:51:47Z","modified":"2026-04-16T04:42:27.031427125Z","updated_at":"2026-11-02T15:49:41.849028Z"},{"id":"OESA-2022-1858","title":"shapelib security update","description":"The Shapefile C Library provides the ability to write simple C programs for reading, writing and updating (to a limited extent) ESRI Shapefiles, and the associated attribute file (.dbf). This package also contains various utility programs for using shapelib.\r\n\r\nSecurity Fix(es):\r\n\r\n** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2022-0699)","status":"published","published":"2022-08-26T11:05:08Z","modified":"2026-08-18T01:17:09.082745053Z","updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"openSUSE-SU-2022:0068-1","title":"Security update for shapelib","description":"This update for shapelib fixes the following issues:\n\n- CVE-2022-0699: Fixed a Double-free vulnerability in contrib/shpsort.c\n","status":"published","published":"2022-03-02T21:21:32Z","modified":"2026-02-04T02:41:03.287484Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:11863-1","title":"libshp-devel-1.5.0-2.1 on GA media","description":"These are all security issues fixed in the libshp-devel-1.5.0-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:11:14.695458Z","updated_at":"2026-11-02T16:58:35.485255Z"},{"id":"USN-8992-1","title":"shapelib vulnerability","description":"It was discovered that the shpsort utility in Shapelib incorrectly handled\ncertain inputs, leading to a double free. An attacker could possibly use\nthis issue to cause a denial of service, or possibly execute arbitrary\ncode.","status":"published","published":"2026-11-03T17:38:38Z","modified":"2026-11-04T03:43:12.749339238Z","updated_at":"2026-11-04T03:56:18.279609Z"}]}}
