CVE-2022-0699
CWE-416Published: October 17, 2022· Updated: Jun 17, 2026
Official 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.
Risk Analysis
Shapelib contains a double-free vulnerability in its shape sorting component, which can lead to a denial of service or other impacts. This critical flaw is remotely exploitable and requires immediate attention.
No public exploit is known, and the vulnerability is not in the KEV catalog. It is remotely exploitable with low attack complexity.
Update to a version of Shapelib where the double-free condition has been resolved. Ensure that applications using this library are hardened against memory corruption attacks.
Technical Analysis
CVE-2022-0699 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-416): Use-after-free vulnerabilities involve accessing memory after it has been freed, often enabling arbitrary code execution.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (5)
Quick Facts
Related CVEs (CWE-416)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-0699 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts