Updated: 2025-08-20 03:00:27.269216
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.
| Links | NIST | CIRCL | RHEL | Ubuntu |
| Severity | Score | |
|---|---|---|
| CVSS Version 2.x | MEDIUM | 6.8 |
| CVSS Version 3.x | HIGH | 7.8 |
| OS name | Project name | Version | Score | Severity | Status | Errata | Last updated | Statement |
|---|---|---|---|---|---|---|---|---|
| CentOS 6 ELS | binutils | 2.20 | 7.8 | HIGH | Released | CLSA-2021:1638803819 | 2022-05-05 12:02:49 | |
| CloudLinux 6 ELS | binutils | 2.20 | 7.8 | HIGH | Released | 2021-12-06 11:56:06 | ||
| Oracle Linux 6 ELS | binutils | 2.20 | 7.8 | HIGH | Released | CLSA-2021:1637770725 | 2021-11-24 13:55:54 | |
| Ubuntu 16.04 ELS | binutils | 2.26 | 7.8 | HIGH | Released | CLSA-2021:1635459139 | 2021-11-02 21:02:48 |