Double Free Affecting shapelib package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.66% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-SHAPELIB-3087916
  • published25 Oct 2026
  • disclosed17 Oct 2022

Introduced: 17 Oct 2022

CVE-2022-0699  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 shapelib.

NVD Description

Note: Versions mentioned in the description apply only to the upstream shapelib package and not the shapelib package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1