{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-38495","id":"CVE-2022-38495","title":"LIEF vulnerable to heap based buffer overflow via print_binary function","description":"LIEF commit 365a16a was discovered to contain a heap-buffer overflow via the function print_binary at /c/macho_reader.c.","descriptionLong":"LIEF commit 365a16a was discovered to contain a heap-buffer overflow via the function print_binary at /c/macho_reader.c.","published":"2022-09-13T20:16:46.000Z","updated":"2026-10-28T02:30:48.506170704Z","reserved":"2022-08-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"lief","purl":"pkg:pypi/lief","ranges":["<=0.12.1","<0.12.1"],"fixed":["0.12.1"],"advisory":"GHSA-42vg-2q93-fj6j"}],"cwes":["CWE-787"],"aliases":["GHSA-42vg-2q93-fj6j","PYSEC-2022-276"],"references":[{"url":"https://github.com/lief-project/LIEF/issues/767","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38495.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38495","tags":["advisory"]},{"url":"https://github.com/lief-project/LIEF/commit/0033b6312fd311b2e45e379c04a83d77c1e58578","tags":["web"]},{"url":"https://github.com/lief-project/LIEF","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-276.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-42vg-2q93-fj6j","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00343,"epssPercentile":0.28316,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-38495","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38495","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-38495","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-42vg-2q93-fj6j","ok":true,"note":"GHSA-42vg-2q93-fj6j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-38495","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}