Use After Free Affecting binutils package, versions [,2.29.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.12% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-BINUTILS-2368437
  • published26 Jan 2022
  • disclosed4 Aug 2017
  • creditUnknown

Introduced: 4 Aug 2017

CVE-2017-12448  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade binutils to version 2.29.1 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. 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

CVSS Scores

version 3.1