libshp2: A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases
CVE-2022-0699 is fixed in 2 products on 1 platform, first by libshp2 1.4.1-1ubuntu0.1~esm1, released October 17, 2022. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libshp2 · Ubuntu 18.04.6 LTS (bionic) | 1.4.1-1ubuntu0.1~esm1 | libshp2 1.4.1-1ubuntu0.1~esm1 | Oct 17, 2022 |
| libshp2 · Ubuntu 20.04 LTS (focal) | 1.5.0-1ubuntu0.1~esm1 | libshp2 1.5.0-1ubuntu0.1~esm1 | Oct 17, 2022 |
| libshp2 · Ubuntu 22.04.1 LTS (jammy) | 1.5.0-2+deb11u1build0.22.04.1 | libshp2 1.5.0-2+deb11u1build0.22.04.1 | Oct 17, 2022 |
| shapelib · Debian 11.6 (bullseye) | 1.5.0-2+deb11u1 | DLA-4451-1 | Jan 24, 2026 |
| shapelib · Debian 12.15 (bookworm) | 1.5.0-3 | DEBIAN-CVE-2022-0699 | Oct 17, 2022 |
| shapelib · Debian 13.5 (trixie) | 1.5.0-3 | DEBIAN-CVE-2022-0699 | Oct 17, 2022 |
| shapelib · Debian 14 | 1.5.0-3 | DEBIAN-CVE-2022-0699 | Oct 17, 2022 |
| shapelib · Ubuntu 18.04.6 LTS (bionic) | 1.4.1-1ubuntu0.1~esm1 | shapelib 1.4.1-1ubuntu0.1~esm1 | Oct 17, 2022 |
| shapelib · Ubuntu 20.04 LTS (focal) | 1.5.0-1ubuntu0.1~esm1 | shapelib 1.5.0-1ubuntu0.1~esm1 | Oct 17, 2022 |
| shapelib · Ubuntu 22.04.1 LTS (jammy) | 1.5.0-2+deb11u1build0.22.04.1 | shapelib 1.5.0-2+deb11u1build0.22.04.1 | Oct 17, 2022 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.