OSGeo shapelib up to 1.5.0 contrib/shpsort.c use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in OSGeo shapelib up to 1.5.0. This vulnerability affects unknown code of the file contrib/shpsort.c. This manipulation causes use after free. This vulnerability appears as CVE-2022-0699. There is no available exploit. Applying a patch is the recommended action to fix this issue.

Detailsinfo

A vulnerability was found in OSGeo shapelib up to 1.5.0. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file contrib/shpsort.c. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect availability. The summary by CVE is:

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.

The weakness was presented 10/17/2022 as 39. The advisory is shared at github.com. This vulnerability is known as CVE-2022-0699 since 02/21/2022. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 296512 (Debian dla-4451 : libshp-dev - security update), which helps to determine the existence of the flaw in a target environment.

Applying the patch c75b9281a5b9452d92e1682bdfe6019a13ed819f is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the databases at Tenable (296512) and EUVD (EUVD-2022-15776). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.6
VulDB Meta Temp Score: 6.6

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 296512
Nessus Name: Debian dla-4451 : libshp-dev - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: c75b9281a5b9452d92e1682bdfe6019a13ed819f

Timelineinfo

02/21/2022 🔍
10/17/2022 +237 days 🔍
10/17/2022 +0 days 🔍
01/25/2026 +1196 days 🔍

Sourcesinfo

Product: github.com

Advisory: 39
Status: Confirmed

CVE: CVE-2022-0699 (🔍)
GCVE (CVE): GCVE-0-2022-0699
GCVE (VulDB): GCVE-100-211093
EUVD: 🔍

Entryinfo

Created: 10/17/2022 21:01
Updated: 01/25/2026 10:02
Changes: 10/17/2022 21:01 (42), 11/10/2022 00:59 (11), 05/14/2025 03:15 (15), 01/25/2026 04:28 (1), 01/25/2026 10:02 (2)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!