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:13Z
Summary
[none]
Details

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

Database specific
{
    "cna_assigner":  "mitre",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34299.json"
}
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:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0.4.0"
        },
        {
            "last_affected":  "0.4.0"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

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

Database specific

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