Vulnerabilities / CVE-2022-0699

critical

CVE-2022-0699

A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 ...

Published Modified CWE 416, 415
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, CBL-Mariner. Rated lower by Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0shapelib0:1.5.0-3.azl3
CBL-Mariner 2.0shapelib0:1.5.0-3.cm2
conan::GitLab Advisory Database Communityshapelibno fix listed
debian 10shapelibno fix listed
debian 11shapelib1.5.0-2+deb11u1
debian 12shapelib1.5.0-3
debian 13shapelib1.5.0-3
debian 14shapelib1.5.0-3
echoshapelib1.5.0-3
rapidfort ubuntu 20.04shapelib0:1.5.0-3
rapidfort ubuntu 22.04shapelib0:1.5.0-3
rapidfort ubuntu 24.04shapelib0:1.5.0-3
Show all 15 entries from 15 sources
SourcePackageFixed in
Azure Linux 3.0shapelib0:1.5.0-3.azl3
CBL-Mariner 2.0shapelib0:1.5.0-3.cm2
conan::GitLab Advisory Database Communityshapelibno fix listed
debian 10shapelibno fix listed
debian 11shapelib1.5.0-2+deb11u1
debian 12shapelib1.5.0-3
debian 13shapelib1.5.0-3
debian 14shapelib1.5.0-3
echoshapelib1.5.0-3
rapidfort ubuntu 20.04shapelib0:1.5.0-3
rapidfort ubuntu 22.04shapelib0:1.5.0-3
rapidfort ubuntu 24.04shapelib0:1.5.0-3
ubuntu 18.04-ESMshapelibno fix listed
ubuntu 20.04-ESMshapelibno fix listed
ubuntu 22.04shapelibno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.