USN-8992-1: Shapelib vulnerability

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.


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 –  1.5.0-2+deb11u1build0.22.04.1
20.04 LTS focal shapelib –  1.5.0-1ubuntu0.1~esm1  
18.04 LTS bionic shapelib –  1.4.1-1ubuntu0.1~esm1  
16.04 LTS xenial shapelib –  1.3.0-5ubuntu0.1~esm1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›