Bug 2126424 (CVE-2022-39170) - CVE-2022-39170 libdwarf: double free in _dwarf_exec_frame_instr() in dwarf_frame.c
Summary: CVE-2022-39170 libdwarf: double free in _dwarf_exec_frame_instr() in dwarf_fr...
Keywords:
Status: NEW
Alias: CVE-2022-39170
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2126426
Blocks: 2123783
TreeView+ depends on / blocked
 
Reported: 2022-09-13 12:17 UTC by TEJ RATHI
Modified: 2023-07-07 08:29 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A double-free vulnerability was found in libdwarf's dwarf_expand_frame_instructions() function of the dwarf_frame.c file. A carefully crafted object file could cause the ‘dwarfdump' utility to do a double free in handling an error condition. This issue could cause a segmentation violation or other major error, terminating the calling application and resulting in a denial of service.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-09-13 12:17:35 UTC
libdwarf 0.4.1 has a double free in _dwarf_exec_frame_instr in dwarf_frame.c.

https://github.com/davea42/libdwarf-code/commit/60303eb80ecc7747bf29776d545e2a5c5a76f6f8
https://github.com/davea42/libdwarf-code/issues/132

Comment 1 TEJ RATHI 2022-09-13 12:20:56 UTC
Created libdwarf tracking bugs for this issue:

Affects: fedora-all [bug 2126426]


Note You need to log in before you can comment on or make changes to this bug.