{"schemaVersion":3,"id":"CVE-2022-0699","aliases":["MGASA-2022-0096","openSUSE-SU-2022:0068-1","UBUNTU-CVE-2022-0699","DEBIAN-CVE-2022-0699","DLA-4451-1","openSUSE-SU-2024:11863-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-10-17T00:00:00.000Z","modified":"2026-01-24T21:03:54.738Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0166,"percentile":0.76323,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.33699999999999997,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01323},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0166,"percentile":0.76323}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0166,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0166,"percentile":0.76323}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_OSGEO_SHAPELIB","name":"Shapelib","source":"github","url":"https://github.com/OSGeo/shapelib/issues/39","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"},{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"}],"affected":[{"vendor":"debian","product":"shapelib","name":"shapelib","label":"shapelib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/shapelib","purlType":"deb","versions":[{"text":"< 1.5.0-2+deb11u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.5.0-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.0-2+deb11u1 | < 1.5.0-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"shapelib","name":"shapelib","label":"shapelib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/shapelib","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mageia","product":"shapelib","name":"shapelib","label":"shapelib","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/shapelib","purlType":"rpm","versions":[{"text":"< 1.5.0-2.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.0-2.1.mga8","eol":null,"hubHref":null},{"vendor":"osgeo","product":"shapelib","name":"shapelib","label":"shapelib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.5.0","eol":null,"hubHref":"/vendor/osgeo/shapelib"},{"vendor":"opensuse","product":"shapelib&distro=openSUSE Leap 15.3","name":"shapelib","label":"shapelib&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/shapelib&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 1.5.0-bp153.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.0-bp153.2.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"shapelib&distro=openSUSE Tumbleweed","name":"shapelib","label":"shapelib&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/shapelib&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.5.0-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.0-2.1","eol":null,"hubHref":null},{"vendor":"suse","product":"shapelib&distro=SUSE Package Hub 15 SP3","name":"shapelib","label":"shapelib&distro=SUSE Package Hub 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/shapelib&distro=SUSE Package Hub 15 SP3","purlType":"rpm","versions":[{"text":"< 1.5.0-bp153.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.0-bp153.2.3.1","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/OSGeo/shapelib/issues/39","label":"github.com/OSGeo/shapelib/issues/39","hostname":"github.com","tags":["REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f","label":"github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f","hostname":"github.com","tags":["REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00023.html","label":"lists.debian.org/debian-lts-announce/2026/01/msg00023.html","hostname":"lists.debian.org","tags":[]},{"url":"https://advisories.mageia.org/MGASA-2022-0096.html","label":"advisories.mageia.org/MGASA-2022-0096.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30114","label":"bugs.mageia.org/show_bug.cgi?id=30114","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/6B3VSER4WPCPULJGLJVI75SE2NKX4RQH/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB","Advisory"]},{"url":"https://bugzilla.suse.com/1196236","label":"bugzilla.suse.com/1196236","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-0699","label":"www.suse.com/security/cve/CVE-2022-0699","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-0699","label":"ubuntu.com/security/CVE-2022-0699","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-0699","label":"www.cve.org/CVERecord?id=CVE-2022-0699","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-0699","label":"security-tracker.debian.org/tracker/CVE-2022-0699","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0699","label":"nvd.nist.gov/vuln/detail/CVE-2022-0699","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-10-17T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-24T21:03:54.738Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:31:31.539Z","stale":false,"partial":false}}