Bug 2276140 (CVE-2024-31745) - CVE-2024-31745 libdwarf: use after free in dw_empty_errlist_item in dwarf_alloc.c
Summary: CVE-2024-31745 libdwarf: use after free in dw_empty_errlist_item in dwarf_all...
Keywords:
Status: NEW
Alias: CVE-2024-31745
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2276141
Blocks: 2276137
TreeView+ depends on / blocked
 
Reported: 2024-04-19 19:48 UTC by Robb Gatica
Modified: 2024-04-22 05:26 UTC (History)
0 users

Fixed In Version: libdwarf 0.9.2
Doc Type: ---
Doc Text:
A flaw was found in libdwarf. An attacker may use a specially-crafted file to trigger a use-after-free condition, which can potentially lead to an application crash or other unexpected behavior.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-04-19 19:48:02 UTC
Libdwarf v0.9.1 was discovered to contain a heap use-after-free via the dw_empty_errlist_item function at /libdwarf/dwarf_alloc.c.

https://github.com/davea42/libdwarf-code/commit/404e6b1b14f60c81388d50b4239f81d461b3c3ad
https://github.com/davea42/libdwarf-code/issues/238

Comment 1 Robb Gatica 2024-04-19 19:49:00 UTC
Created libdwarf tracking bugs for this issue:

Affects: fedora-all [bug 2276141]


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