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,...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSbinutils |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSbinutils |
< 2.26.1-1ubuntu1~16.04.8+esm1→ 2.26.1-1ubuntu1~16.04.8+esm1 |
2.26.1-1ubuntu1~16.04.8+esm1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report sourceware.org
- report cve.org