CVEvulnerability
CVE-2017-12448
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2017-08-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.8 HIGH — CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-416
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.
Affected configurations
• gnu binutils (<= 2.29)
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=21787 Issue Tracking, Patch, Third Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=21787 Issue Tracking, Patch, Third Party Advisory