CVE-2017-12448

HIGH

GNU Binutils < 2.29 - Use-After-Free in BFD Archive Handling

Title source: llm
STIX 2.1

Description

The bfd_cache_close function in bfd/cache.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29 and earlier, allows remote attackers to cause a heap use after free and possibly achieve code execution via a crafted nested archive file. This issue occurs because incorrect functions are called during an attempt to release memory. The issue can be addressed by better input validation in the bfd_generic_archive_p function in bfd/archive.c.

References (1)

Core 1
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://sourceware.org/bugzilla/show_bug.cgi?id=21787

Scores

CVSS v3 7.8
EPSS 0.0049
EPSS Percentile 65.7%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (1)
gnu/binutils < 2.29
Published Aug 04, 2017
Tracked Since Feb 18, 2026