Shapelib Vulnerability — Ubuntu Security Update (USN-8992-1)
USN-8992-1 fixes CVE-2022-0699 in Shapelib on Ubuntu — a double free in the shpsort utility (CWE-416) when handling crafted shapefiles, causing denial of service or potentially arbitrary code execution (CVSS 9.8). Update: sudo apt update && sudo apt upgrade shapelib and restart any GIS tooling using the library.
SharedLicense लाइसेंस के तहत इसका अर्थ
A double free in shapefile parsing is memory corruption reachable from uploaded GIS data — where shapefile processing is automated, crafted files become code execution in the processing service.
-
USN-8992-1
Publication date
3 November 2026
Overview
Shapelib could be made to crash or run programs as your login if it opened
a specially crafted file.
Releases
Packages
- shapelib – Library for reading and writing ESRI Shapefiles
Details
It was discovered that the shpsort utility in Shapelib incorrectly handled
certain inputs, leading to a double free. An attacker could possibly use
this issue to cause a denial of service, or possibly execute arbitrary
code.
It was discovered that the shpsort utility in Shapelib incorrectly handled
certain inputs, leading to a double free. An attacker could possibly use
this issue to cause a denial of service, or possibly execute arbitrary
code.
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.
The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
|
22.04
LTS jammy |
shapelib – | ||
|
20.04
LTS focal |
shapelib –
1.5.0-1ubuntu0.1~esm1 Ubuntu Pro |
||
|
18.04
LTS bionic |
shapelib –
1.4.1-1ubuntu0.1~esm1 Ubuntu Pro |
||
|
16.04
LTS xenial |
shapelib –
1.3.0-5ubuntu0.1~esm1 |
||
References
अक्सर पूछे जाने वाले प्रश्न
What is CVE-2022-0699?
Who is affected?
How do I apply the fix?
Why is a GIS library rated 9.8?
अपने सिस्टम में भेद्यताओं की जाँच करें
अपना उत्पाद और ऑपरेटिंग सिस्टम चुनें ताकि आपके लिए लागू सटीक फिक्स कमांड देख सकें।
अपना सिस्टम जाँचें