CVE-2022-0699

Source
https://cve.org/CVERecord?id=CVE-2022-0699
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0699.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0699
Downstream
Related
Published
2022-10-17T00:00:00Z
Modified
2026-07-22T02:22:53.087275Z
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0699.json",
    "cwe_ids": [
        "CWE-416"
    ],
    "cna_assigner": "fedora"
}
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
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.5.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:osgeo:shapelib:*:*:*:*:*:*:*:*"
}

Affected versions

shapelib 1.*
shapelib 1.5.0 and older releases
v1.*
v1.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0699.json"
vanir_signatures_modified
"2026-07-22T02:22:53Z"
vanir_signatures
[
    {
        "digest": {
            "function_hash": "83108686154979985158517561713373035900",
            "length": 748.0
        },
        "id": "CVE-2022-0699-836bb0c7",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/osgeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f",
        "signature_type": "Function",
        "target": {
            "function": "split",
            "file": "contrib/shpsort.c"
        }
    }
]