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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | shapelib | shapelib 1.5.0 and older releases | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | shapelib | 1.5.0-3 | — |
| Debian 13 | shapelib | 1.5.0-3 | — |
| Debian 12 | shapelib | 1.5.0-3 | — |
| Debian 11 | shapelib | 1.5.0-2+deb11u1 | DLA-4451-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | shapelib | 1.5.0-2+deb11u1build0.22.04.1 | USN-8992-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | shapelib | 1.5.0-1ubuntu0.1~esm1 | USN-8992-1 |
| Ubuntu Pro 18.04 LTS | shapelib | 1.4.1-1ubuntu0.1~esm1 | USN-8992-1 |
| Ubuntu Pro 16.04 LTS | shapelib | 1.3.0-5ubuntu0.1~esm1 | USN-8992-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP3 | shapelib | 1.5.0-bp153.2.3.1 | openSUSE-SU-2022:0068-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | shapelib | 1.5.0-2.1 | openSUSE-SU-2024:11863-1 |
| openSUSE Leap 15.3 | shapelib | 1.5.0-bp153.2.3.1 | openSUSE-SU-2022:0068-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | shapelib | 1.5.0-3 | — |
| Azure Linux 2 (CBL-Mariner) | shapelib | 1.5.0-3 | — |
Advisories 4
- USN-8992-1 shapelib vulnerability Ubuntu Security Notices (USN) · Nov 4, 2026
- openSUSE-SU-2024:11863-1 libshp-devel-1.5.0-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0068-1 Security update for shapelib SUSE / openSUSE Security Updates · Feb 4, 2026
- DLA-4451-1 shapelib - security update Debian Security (DSA / DLA) · Jan 24, 2026