CVE-2022-0699
published critical CVSS 3.1 · 9.8shapelib: Double-free vulnerability in contrib/shpsort.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | shapelibshapelib 1.5.0 and older releases | Affected | Not stated | fedora |
| Debian | bullseye | shapelib | Advisory build | 1.5.0-2+deb11u1 | DLA-4451-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | shapelibaarch64 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| Ubuntu | bionic | shapelib | Advisory build | 1.4.1-1ubuntu0.1~esm1 | USN-8992-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | shapelibi586 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | shapelibppc64le | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | shapelibs390x | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | shapelibx86_64 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
Show 29 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | shapelibaarch64 | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shapelibppc64le | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shapelibs390x | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shapelibx86_64 | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| Ubuntu | focal | shapelib | Advisory build | 1.5.0-1ubuntu0.1~esm1 | USN-8992-1 |
| Ubuntu | jammy | shapelib | Advisory build | 1.5.0-2+deb11u1build0.22.04.1 | USN-8992-1 |
| Ubuntu | xenial | shapelib | Advisory build | 1.3.0-5ubuntu0.1~esm1 | USN-8992-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp-develaarch64 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp-develi586 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp-develppc64le | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp-devels390x | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp-develx86_64 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp2aarch64 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp2i586 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp2ppc64le | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp2s390x | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libshp2x86_64 | Advisory build | 1.5.0-bp153.2.3.1 | OPENSUSE-SU-2022:0068-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libshp-develaarch64 | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libshp-develppc64le | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libshp-devels390x | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libshp-develx86_64 | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libshp2aarch64 | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libshp2ppc64le | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libshp2s390x | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libshp2x86_64 | Advisory build | 1.5.0-2.1 | OPENSUSE-SU-2024:11863-1 |
| Ubuntu | bionic | libshp2 | Advisory build | 1.4.1-1ubuntu0.1~esm1 | USN-8992-1 |
| Ubuntu | focal | libshp2 | Advisory build | 1.5.0-1ubuntu0.1~esm1 | USN-8992-1 |
| Ubuntu | jammy | libshp2 | Advisory build | 1.5.0-2+deb11u1build0.22.04.1 | USN-8992-1 |
| Ubuntu | xenial | libshp2 | Advisory build | 1.3.0-5ubuntu0.1~esm1 | USN-8992-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | shapelib | shapelib 1.5.0 and older releases (affected) | fedora · cna |
Weaknesses
1- CWE-416
References
3Provider assertions
3fedora · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 344c4150119d2a618c021645d8905e0bcf00329bfdaa28e60d5c6f386501f7e1
- Ingested
- 23 Sep 2026, 07:57:33 UTC
- Source record
- Official CVE record