CVE-2022-0699

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-0699
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0699.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-0699
Downstream
Related
Published
2022-10-17T16:15:20Z
Modified
2025-09-19T13:30:01.261704Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/osgeo/shapelib

Affected ranges

Type
GIT
Repo
https://github.com/osgeo/shapelib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.5.0

Database specific

{
    "vanir_signatures": [
        {
            "id": "CVE-2022-0699-836bb0c7",
            "signature_type": "Function",
            "target": {
                "file": "contrib/shpsort.c",
                "function": "split"
            },
            "digest": {
                "function_hash": "83108686154979985158517561713373035900",
                "length": 748.0
            },
            "deprecated": false,
            "signature_version": "v1",
            "source": "https://github.com/osgeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f"
        }
    ]
}