CVE-2017-12448

binutils: heap use after free in bfd_cache_close function

Published Aug 4, 2017 CVSS 3.0 · 7.8 High EPSS 2.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-4020 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.
Ubuntu USN Ubuntu USN USN-4336-2 GNU binutils vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 17, 2024, 12:20 AM
Reserved
Aug 4, 2017, 12:00 AM
Status
Modified
Published
Aug 4, 2017, 3:29 PM
Modified
Jun 17, 2026, 1:03 AM
Severity
Moderate
Public date
Jul 19, 2017, 12:00 AM