CVE-2022-0699 json
A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases.
published 4y ago modified 4mo ago also EUVD-2022-15776
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- shapelib Debian 14, Debian 13, Debian 12 1.5.0-3
debian advisories DEBIAN-CVE-2022-0699
- shapelib Ubuntu 22.04 LTS 1.5.0-2+deb11u1build0.22.04.1
- shapelib Ubuntu Pro 16.04 LTS 1.3.0-5ubuntu0.1~esm1
- shapelib Ubuntu Pro 18.04 LTS 1.4.1-1ubuntu0.1~esm1
- shapelib Ubuntu Pro 20.04 LTS 1.5.0-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2022-0699
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- shapelib openSUSE Tumbleweed 1.5.0-2.1
- shapelib Package Hub 15 SP3, openSUSE Leap 15.3 1.5.0-bp153.2.3.1
opensuse advisories openSUSE-SU-2024:11863-1openSUSE-SU-2022:0068-1
- shapelib CBL-Mariner 2.0, Azure Linux 3.0 1.5.0-3
azure linux advisories AZL-28599AZL-37034
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Is CVE-2022-0699 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-0699 updated cvss 8.1
shapelib: Double-free vulnerability in contrib/shpsort.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
1.66% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/OSGeo/shapelib/issues/39 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- n/a shapelib
Classification
References
-
github.com
/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f
patch, third-party-advisory
-
github.com
/OSGeo/shapelib/issues/39
exploit, issue-tracking, third-party-advisory
- lists.debian.org /debian-lts-announce/2026/01/msg00023.html
Sources
- CVE List CVE-2022-0699
- NVD CVE-2022-0699
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.