CVE-2022-0699
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | shapelib | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | shapelib | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | shapelib | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | shapelib | Fixed | 1.5.0-2+deb11u1build0.22.04.1 | UBUNTU-CVE-2022-0699 |
| Ubuntu 20.04 | shapelib | Fix pending | 1.5.0-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-0699 |
| Ubuntu 18.04 | shapelib | Fix pending | 1.4.1-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-0699 |
| Ubuntu 16.04 | shapelib | Fix pending | 1.3.0-5ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-0699 |
| Ubuntu 14.04 | shapelib | Fix pending | ||
| Debian 14 | shapelib | Fixed | 1.5.0-3 | DEBIAN-CVE-2022-0699 |
| Debian 13 | shapelib | Fixed | 1.5.0-3 | DEBIAN-CVE-2022-0699 |
| Debian 12 | shapelib | Fixed | 1.5.0-3 | DEBIAN-CVE-2022-0699 |
What the vendor says
As published in the CVE record by fedora, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- shapelib: affected: shapelib 1.5.0 and older releases
References
- https://github.com/OSGeo/shapelib/issues/39
- https://github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.