Name
binutils
Version
2.42
Type
library
Description
GNU binary utilities
Licenses
GPL-3.0-only
PURL
-
CPE
cpe:2.3:*:gnu:binutils:2.42:*:*:*:*:*:*:*
Other Versions#
Patches#
#
Title
Author
Resolve
1
nm: Avoid potential segmentation fault when displaying
Nick Clifton <nickc@redhat.com>
CVE-2024-57360
2
PR 32603, ld -w misbehaviorur
Alan Modra <amodra@gmail.com>
CVE-2025-1153
3
Patch #3
Alan Modra <amodra@gmail.com>
CVE-2025-5245
4
Prevent illegal memory access when checking relocs in a
Nick Clifton <nickc@redhat.com>
CVE-2025-1181
5
Only generate an RPATH entry if LD_RUN_PATH is not empty
Khem Raj <raj.khem@gmail.com>
6
elf: Report corrupted group section
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-7546
7
Remove duplicate pe-dll.o entry deom targ_extra_ofiles
Khem Raj <raj.khem@gmail.com>
8
Fix another illegal memory access triggered by corrupt ELF
Nick Clifton <nickc@redhat.com>
CVE-2025-1182
9
Patch #9
Yash Shinde <Yash.Shinde@windriver.com>
CVE-2024-53589
10
Patch #10
Alan Modra <amodra@gmail.com>
CVE-2025-5244
11
sync with OE libtool changes
Ross Burton <ross.burton@intel.com>
12
Point scripts location to libdir
Khem Raj <raj.khem@gmail.com>
13
PR 33455 SEGV in vfinfo at ldmisc.c:527
Alan Modra <amodra@gmail.com>
CVE-2025-11840
14
gprofng: protect against standard library macros
Andreas Schwab <schwab@suse.de>
15
binutils-cross: Do not generate linker script directories
Khem Raj <raj.khem@gmail.com>
16
Use libtool 2.4
Khem Raj <raj.khem@gmail.com>
17
opcodes: fix -std=gnu23 compatibility wrt static_assert
Sam James <sam@gentoo.org>
18
PR 33638, debug_rnglists output
Alan Modra <amodra@gmail.com>
CVE-2025-69648
19
dlltool: file name too long
Jiaying Song <jiaying.song.cn@windriver.com>
20
PR 32603, more ld -w misbehaviour
Alan Modra <amodra@gmail.com>
CVE-2025-1153
21
x86: Check invalid TLS descriptor call TLS descriptor
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-1179
22
Remove call to abort in the DGB debug format printing code,
Nick Clifton <nickc@redhat.com>
CVE-2025-11839
23
binutils-crosssdk: Generate relocatable SDKs
Khem Raj <raj.khem@gmail.com>
24
gprofng: fix build with -std=gnu23
Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
25
don't let the distro compiler point to the wrong installation
Khem Raj <raj.khem@gmail.com>
26
Patch #26
Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
CVE-2025-0840
27
binutils-nativesdk: Search for alternative ld.so.conf in SDK
Richard Purdie <richard.purdie@linuxfoundation.org>
28
PR 33452 SEGV in bfd_elf_gc_record_vtentry
Alan Modra <amodra@gmail.com>
CVE-2025-11412
29
PR 33406 SEGV in dump_dwarf_section
Alan Modra <amodra@gmail.com>
CVE-2025-11081
30
Define alignof using _Alignof when using C11 or newer
Khem Raj <raj.khem@gmail.com>
31
Prevent an abort in the bfd linker when attempting to
Nick Clifton <nickc@redhat.com>
CVE-2025-1178
32
elf: Don't read beyond .eh_frame section size
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-11082
33
fix the incorrect assembling for ppc wait mnemonic
Zhenhua Luo <zhenhua.luo@nxp.com>
34
Check for clang before checking gcc version
Khem Raj <raj.khem@gmail.com>
35
Patch #35
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-7545
36
Add even more checks for corrupt input when processing
Nick Clifton <nickc@redhat.com>
CVE-2025-1181
37
binutils/dwarf.c debug_information leak
Alan Modra <amodra@gmail.com>
CVE-2025-8225
38
Fix 32097 Warnings when building gprofng with Clang
Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
39
gprofng: fix -std=gnu23 compatibility wrt unprototyped
Sam James <sam@gentoo.org>
40
Prevent illegal memory access when indexing into the
Nick Clifton <nickc@redhat.com>
CVE-2025-1176
41
PR 32603, revert message changes
Alan Modra <amodra@gmail.com>
CVE-2025-1153
42
x86: Improve TLS transition error check
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-1179
43
Fix rpath in libtool when sysroot is enabled
Khem Raj <raj.khem@gmail.com>
44
warn for uses of system directories when cross linking
Khem Raj <raj.khem@gmail.com>
45
Re: elf: Disallow the empty global symbol name
Alan Modra <amodra@gmail.com>
CVE-2025-11413
46
elf: Don't match corrupt section header in linker input
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-11083
47
Patch #47
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-11494
48
elf: Return error on unsorted symbol table if not allowed
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-11414
49
PR 33639 .debug_loclists output
Alan Modra <amodra@gmail.com>
CVE-2025-69647
50
Patch #50
Harish Sadineni <Harish.Sadineni@windriver.com>
Vulnerabilities#
Name
Analysis
Description
Exploitable
A flaw was found in binutils. A heap-buffer-overflow vulnerability exists when processing a specially crafted XCOFF (Extended Common Object File Format) object file during linking. A local attacker could trick a user into processing this malicious file, which could lead to arbitrary code execution, allowing the attacker to run unauthorized commands, or cause a denial of service, making the system unavailable.
Patched
A vulnerability was found in GNU Binutils 2.44 and classified as problematic. This issue affects the function process_debug_info of the file binutils/dwarf.c of the component DWARF Section Handler. The manipulation leads to memory leak. Attacking locally is a requirement. The identifier of the patch is e51fdff7d2e538c0e5accdd65649ac68e6e0ddd4. It is recommended to apply a patch to fix this issue.
Patched
A vulnerability, which was classified as problematic, has been found in GNU Binutils 2.45. Affected by this issue is the function bfd_elf_set_group_contents of the file bfd/elf.c. The manipulation leads to out-of-bounds write. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The name of the patch is 41461010eb7c79fee7a9d5f6209accdaac66cc6b. It is recommended to apply a patch to fix this issue.
Patched
A vulnerability classified as problematic was found in GNU Binutils 2.45. Affected by this vulnerability is the function copy_section of the file binutils/objcopy.c. The manipulation leads to heap-based buffer overflow. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The patch is named 08c3cbe5926e4d355b5cb70bbec2b1eeb40c2944. It is recommended to apply a patch to fix this issue.
Exploitable
GNU Binutils thru 2.46 readelf contains a vulnerability that leads to an abort (SIGABRT) when processing a crafted ELF binary with malformed DWARF abbrev or debug information. Due to incomplete state cleanup in process_debug_info(), an invalid debug_info_p state may propagate into DWARF attribute parsing routines. When certain malformed attributes result in an unexpected data length of zero, byte_get_little_endian() triggers a fatal abort. No evidence of memory corruption or code execution was observed; the impact is limited to denial of service.
Exploitable
GNU Binutils thru 2.46 readelf contains a vulnerability that leads to an invalid pointer free when processing a crafted ELF binary with malformed relocation or symbol data. If dump_relocations returns early due to parsing errors, the internal all_relocations array may remain partially uninitialized. Later, process_got_section_contents() may attempt to free an invalid r_symbol pointer, triggering memory corruption checks in glibc and causing the program to terminate with SIGABRT. No evidence of further memory corruption or code execution was observed; the impact is limited to denial of service. NOTE: this is disputed by third parties because the observed behavior occurred only in pre-release code and did not affect any tagged version.
Exploitable
GNU Binutils thru 2.46 readelf contains a double free vulnerability when processing a crafted ELF binary with malformed relocation data. During GOT relocation handling, dump_relocations may return early without initializing the all_relocations array. As a result, process_got_section_contents() may pass an uninitialized r_symbol pointer to free(), leading to a double free and terminating the program with SIGABRT. No evidence of exploitable memory corruption or code execution was observed; the impact is limited to denial of service. NOTE: this is disputed by third parties because the observed behavior occurred only in pre-release code and did not affect any tagged version.
Exploitable
GNU Binutils thru 2.46 readelf contains a null pointer dereference vulnerability when processing a crafted ELF binary with malformed header fields. During relocation processing, an invalid or null section pointer may be passed into display_relocations(), resulting in a segmentation fault (SIGSEGV) and abrupt termination. No evidence of memory corruption beyond the null pointer dereference, nor any possibility of code execution, was observed.
Patched
GNU Binutils thru 2.45.1 readelf contains a denial-of-service vulnerability when processing a crafted binary with malformed DWARF .debug_rnglists data. A logic flaw in the DWARF parsing path causes readelf to repeatedly print the same warning message without making forward progress, resulting in a non-terminating output loop that requires manual interruption. No evidence of memory corruption or code execution was observed.
Patched
GNU Binutils thru 2.45.1 readelf contains a denial-of-service vulnerability when processing a crafted binary with malformed DWARF loclists data. A logic flaw in the DWARF parsing code can cause readelf to repeatedly print the same table output without making forward progress, resulting in an unbounded output loop that never terminates unless externally interrupted. A local attacker can trigger this behavior by supplying a malicious input file, causing excessive CPU and I/O usage and preventing readelf from completing its analysis.
Exploitable
An issue was discovered in Binutils before 2.46. The objdump contains a denial-of-service vulnerability when processing a crafted binary with malformed debug information. A logic flaw in the handling of DWARF location list headers can cause objdump to enter an unbounded loop and produce endless output until manually interrupted. This issue affects versions prior to the upstream fix and allows a local attacker to cause excessive resource consumption by supplying a malicious input file.
Patched
A vulnerability classified as critical has been found in GNU Binutils up to 2.44. This affects the function debug_type_samep of the file /binutils/debug.c of the component objdump. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue.
Patched
A vulnerability was found in GNU Binutils up to 2.44. It has been rated as critical. Affected by this issue is the function elf_gc_sweep of the file bfd/elflink.c of the component ld. The manipulation leads to memory corruption. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. Upgrading to version 2.45 is able to address this issue. It is recommended to upgrade the affected component.
Patched
A weakness has been identified in GNU Binutils 2.45. The affected element is the function vfinfo of the file ldmisc.c. Executing a manipulation can lead to out-of-bounds read. The attack can only be executed locally. The exploit has been made available to the public and could be used for attacks. This patch is called 16357. It is best practice to apply a patch to resolve this issue.
Patched
A security flaw has been discovered in GNU Binutils 2.45. Impacted is the function tg_tag_type of the file prdbg.c. Performing a manipulation results in unchecked return value. The attack needs to be approached locally. The exploit has been released to the public and may be used for attacks.
Patched
A vulnerability, which was classified as critical, was found in GNU Binutils 2.43. Affected is the function bfd_elf_reloc_symbol_deleted_p of the file bfd/elflink.c of the component ld. The manipulation leads to memory corruption. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The patch is identified as b425859021d17adf62f06fb904797cf8642986ad. It is recommended to apply a patch to fix this issue.
Patched
A vulnerability classified as critical was found in GNU Binutils 2.43. This vulnerability affects the function _bfd_elf_gc_mark_rsec of the file bfd/elflink.c of the component ld. The manipulation leads to memory corruption. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The name of the patch is 931494c9a89558acb36a03a340c01726545eef24. It is recommended to apply a patch to fix this issue.
Patched
A vulnerability was found in GNU Binutils 2.43. It has been rated as critical. Affected by this issue is the function bfd_putl64 of the file bfd/libbfd.c of the component ld. The manipulation leads to memory corruption. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 2.44 is able to address this issue. It is recommended to upgrade the affected component. The code maintainer explains, that "[t]his bug has been fixed at some point between the 2.43 and 2.44 releases".
Patched
A vulnerability was found in GNU Binutils 2.43. It has been declared as problematic. Affected by this vulnerability is the function bfd_putl64 of the file libbfd.c of the component ld. The manipulation leads to memory corruption. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The identifier of the patch is 75086e9de1707281172cc77f178e7949a4414ed0. It is recommended to apply a patch to fix this issue.
Patched
A vulnerability was found in GNU Binutils 2.43 and classified as critical. This issue affects the function _bfd_elf_gc_mark_rsec of the file elflink.c of the component ld. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The patch is named f9978defb6fab0bd8583942d97c112b0932ac814. It is recommended to apply a patch to fix this issue.
Patched
A vulnerability classified as problematic was found in GNU Binutils 2.43/2.44. Affected by this vulnerability is the function bfd_set_format of the file format.c. The manipulation leads to memory corruption. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. Upgrading to version 2.45 is able to address this issue. The identifier of the patch is 8d97c1a53f3dc9fd8e1ccdb039b8a33d50133150. It is recommended to upgrade the affected component.
Patched
A vulnerability was found in GNU Binutils 2.45. Impacted is the function _bfd_x86_elf_late_size_sections of the file bfd/elfxx-x86.c of the component Linker. The manipulation results in out-of-bounds read. The attack needs to be approached locally. The exploit has been made public and could be used. The patch is identified as b6ac5a8a5b82f0ae6a4642c8d7149b325f4cc60a. A patch should be applied to remediate this issue.
Patched
A vulnerability was determined in GNU Binutils 2.45. Affected by this vulnerability is the function get_link_hash_entry of the file bfd/elflink.c of the component Linker. This manipulation causes out-of-bounds read. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. Upgrading to version 2.46 addresses this issue. Patch name: aeaaa9af6359c8e394ce9cf24911fec4f4d23703. It is advisable to upgrade the affected component.
Patched
A vulnerability was found in GNU Binutils 2.45. Affected is the function elf_link_add_object_symbols of the file bfd/elflink.c of the component Linker. The manipulation results in out-of-bounds read. The attack needs to be approached locally. The exploit has been made public and could be used. Upgrading to version 2.46 is able to address this issue. The patch is identified as 72efdf166aa0ed72ecc69fc2349af6591a7a19c0. Upgrading the affected component is advised.
Patched
A vulnerability has been found in GNU Binutils 2.45. This impacts the function bfd_elf_gc_record_vtentry of the file bfd/elflink.c of the component Linker. The manipulation leads to out-of-bounds read. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. The identifier of the patch is 047435dd988a3975d40c6626a8f739a0b2e154bc. To fix this issue, it is recommended to deploy a patch.
Patched
A vulnerability has been found in GNU Binutils 2.45. The affected element is the function elf_swap_shdr in the library bfd/elfcode.h of the component Linker. The manipulation leads to heap-based buffer overflow. The attack must be carried out locally. The exploit has been disclosed to the public and may be used. The identifier of the patch is 9ca499644a21ceb3f946d1c179c38a83be084490. To fix this issue, it is recommended to deploy a patch. The code maintainer replied with "[f]ixed for 2.46".
Patched
A flaw has been found in GNU Binutils 2.45. Impacted is the function _bfd_elf_parse_eh_frame of the file bfd/elf-eh-frame.c of the component Linker. Executing manipulation can lead to heap-based buffer overflow. The attack is restricted to local execution. The exploit has been published and may be used. This patch is called ea1a0737c7692737a644af0486b71e4a392cbca8. A patch should be applied to remediate this issue. The code maintainer replied with "[f]ixed for 2.46".
Patched
A vulnerability was detected in GNU Binutils 2.45. This issue affects the function dump_dwarf_section of the file binutils/objdump.c. Performing manipulation results in out-of-bounds read. The attack is only possible with local access. The exploit is now public and may be used. The patch is named f87a66db645caf8cc0e6fc87b0c28c78a38af59b. It is suggested to install a patch to address this issue.
Patched
A vulnerability, which was classified as problematic, was found in GNU Binutils up to 2.43. This affects the function disassemble_bytes of the file binutils/objdump.c. The manipulation of the argument buf leads to stack-based buffer overflow. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 2.44 is able to address this issue. The identifier of the patch is baac6c221e9d69335bf41366a1c7d87d8ab2f893. It is recommended to upgrade the affected component.
Patched
https://www.gnu.org/software/binutils/ nm >=2.43 is affected by: Incorrect Access Control. The type of exploitation is: local. The component is: `nm --without-symbol-version` function.
Patched
GNU objdump 2.43 is vulnerable to Buffer Overflow in the BFD (Binary File Descriptor) library's handling of tekhex format files.