{"id":"CVE-2022-38307","aliases":["CVE-2022-38307","GHSA-x2xx-jw5m-5j86","PYSEC-2022-275"],"related":[],"kind":"vulnerability","state":"published","title":"LIEF contains segmentation violation","summary":"LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.","source":"cvelist"},{"lang":"en","text":"LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function `LIEF::MachO::SegmentCommand::file_offset()` at `/MachO/SegmentCommand.cpp`. Commit 7acf0bc4224081d4f425fcc8b2e361b95291d878 contains a patch.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado que LIEF commit 5d1d643, contiene una violación de segmentación por medio de la función LIEF::MachO::SegmentCommand::file_offset() en el archivo /MachO/SegmentCommand.cpp","source":"nvd"}],"published":"2022-09-13T20:16:45.000Z","modified":"2026-06-17T04:56:24.803Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.1"}],"ecosystem":"PyPI","package":"lief","purl":"pkg:pypi/lief","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.12.1"}],"vendor":"lief-project","product":"lief","cpe":"cpe:2.3:a:lief-project:lief:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.1"}],"ecosystem":"PyPI","package":"lief","purl":"pkg:pypi/lief","source":"pysec"}],"references":[{"url":"https://github.com/lief-project/LIEF/issues/764","tags":["exploit","issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38307","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/lief-project/LIEF/commit/7acf0bc4224081d4f425fcc8b2e361b95291d878","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-275.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-x2xx-jw5m-5j86","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-38307","url":"https://www.cve.org/CVERecord?id=CVE-2022-38307","licence":"CVE Terms of Use","modified":"2024-08-03T10:54:02.778Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x2xx-jw5m-5j86","url":"https://github.com/advisories/GHSA-x2xx-jw5m-5j86","licence":"CC-BY-4.0","modified":"2024-02-16T08:18:48.304Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-38307","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38307","licence":"Public domain","modified":"2026-06-17T04:56:24.803Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-275","url":"https://osv.dev/vulnerability/PYSEC-2022-275","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:01.076Z"}],"updatedAt":"2026-11-25T22:58:14.913Z","epss":{"score":0.00304,"percentile":0.25022,"date":"2026-12-01T12:00:22.000Z"}}