CVE-2022-34299

Source
https://cve.org/CVERecord?id=CVE-2022-34299
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34299.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-34299
Downstream
Related
Published
2022-06-22T14:35:21Z
Modified
2026-08-12T13:01:13.260201Z
Summary
[none]
Details

There is a heap-based buffer over-read in libdwarf 0.4.0. This issue is related to dwarfglobalformref_b.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34299.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/davea42/libdwarf-code

Affected ranges

Type
GIT
Repo
https://github.com/davea42/libdwarf-code
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:libdwarf_project:libdwarf:0.4.0:*:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0.4.0"
        },
        {
            "last_affected": "0.4.0"
        }
    ]
}

Affected versions

0.*
0.4.0
libdwarf-0.*
libdwarf-0.4.0
v0.*
v0.4.0

Database specific

vanir_signatures
[
    {
        "id": "CVE-2022-34299-40819a14",
        "target": {
            "function": "dwarf_global_formref_b",
            "file": "src/lib/libdwarf/dwarf_form.c"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "78862220269873398469667286450600140818",
            "length": 3791.0
        },
        "signature_version": "v1",
        "source": "https://github.com/davea42/libdwarf-code/commit/7ef09e1fc9ba07653dd078edb2408631c7969162",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2022-34299-6d88f717",
        "target": {
            "file": "src/lib/libdwarf/dwarf_form.c"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "258716398145294568082527531509394198831",
                "163769783715992938486691183309269823418",
                "339270606956719756792502860832076083990",
                "159490849568476158364029038457075306881",
                "315320428459480269092930358133969609620",
                "265780766283395225142527022282432068556"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/davea42/libdwarf-code/commit/7ef09e1fc9ba07653dd078edb2408631c7969162",
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34299.json"
vanir_signatures_modified
"2026-08-12T13:01:13Z"