Process crash via unchecked DWARF location bounds
Published Aug 22, 2023 · Updated Oct 3, 2024
Heap buffer overflow in the DWARF parser in radare2 5.4.0 and 5.4.2 allows context-dependent attackers to crash the process with a crafted binary. The parse_dwarf_location routine passes r_sleb128 an end pointer derived from loc->block.length without first ensuring that the length fits the actual location block. Processing a malformed DW_OP_fbreg operand can consequently read beyond the heap buffer and terminate radare2 when the binary is analyzed.
Summary
What happened
Heap buffer overflow in the DWARF parser in radare2 5.4.0 and 5.4.2 allows context-dependent attackers to crash the process with a crafted binary. The parse_dwarf_location routine passes r_sleb128 an end pointer derived from loc->block.length without first ensuring that the length fits the actual location block. Processing a malformed DW_OP_fbreg operand can consequently read beyond the heap buffer and terminate radare2 when the binary is analyzed.
The record
- CVE
- CVE-2022-28068
- Published
- Aug 22, 2023
- Updated
- Oct 3, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1204.002
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Aug 22, 2023CVE publishedPublication date reported by the CVE source.
- Oct 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo