CVE-2022-38307
LIEF contains segmentation violation
LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.
- Record
CVE-2022-38307- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.
- Record
CVE-2022-38307- Updated
- 2026-11-02
EUVDEUVD-2022-0139 No score
LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.
- Record
EUVD-2022-0139- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x2xx-jw5m-5j86
5.5
LIEF contains segmentation violation
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.
- Record
GHSA-x2xx-jw5m-5j86- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVGHSA-x2xx-jw5m-5j86
5.5
LIEF contains segmentation violation
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.
- Record
GHSA-x2xx-jw5m-5j86- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-38307
5.5
LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.
- Record
UBUNTU-CVE-2022-38307- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.
- Record
CVE-2022-38307- Updated
- 2026-11-02
OSVPYSEC-2022-275 No score
LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.
- Record
PYSEC-2022-275- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
liefPyPI |
before 0.12.1 | 0.12.1 |
liefPyPI |
before 0.12.1, plus listed versions 0.10.00.10.10.11.00.11.10.11.2 Show 9 moreShow less0.11.30.11.40.11.50.12.00.8.00.8.10.8.20.8.30.9.0 |
0.12.1 |
liefUbuntu:20.04:LTS |
All versions, plus listed versions 0.9.0-1build10.9.0-1build2 |
None known |
liefUbuntu:22.04:LTS |
All versions, plus listed versions 0.9.0-1build20.9.0-1build3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-38307 is a medium vulnerability (CVSS 5.5) in Lief-project Lief, published September 13, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 23rd percentile. Fixed in lief 0.12.1.
References
github.com/lief-project/LIEF/issues/764
nvd.nist.gov/vuln/detail/CVE-2022-38307
github.com/lief-project/LIEF/commit/7acf0bc4224081d4f425fcc8b2e361b95291d878
github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-275.yaml
github.com/advisories/GHSA-x2xx-jw5m-5j86
github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38307.json
ubuntu.com/security/CVE-2022-38307
cve.org/CVERecord?id=CVE-2022-38307