Logo
componentbinutils
Name
binutils
Version
2.38
Type
library
Description
GNU binary utilities
Licenses
GPL-3.0-only
PURL
-
CPE
cpe:2.3:*:gnu:binutils:2.38:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
2.46.1
scarthgap
2.42

Patches#


#
Title
Author
Resolve
1
PR29370, infinite loop in display_debug_abbrev
Alan Modra <amodra@gmail.com>
2
PR 33455 SEGV in vfinfo at ldmisc.c:527
Alan Modra <amodra@gmail.com>
CVE-2025-11840
3
Prevent illegal memory access when checking relocs in a
Nick Clifton <nickc@redhat.com>
CVE-2025-1181
4
add a trie to map quickly from address range to compilation
"Steinar H. Gunderson" <sesse@google.com>
CVE-2023-22608
5
ubsan: Null dereference in parse_module
Alan Modra <amodra@gmail.com>
CVE-2023-25584
6
PR29892, Field file_table of struct module is uninitialized
Alan Modra <amodra@gmail.com>
CVE-2023-25585
7
PR29169, invalid read displaying fuzzed .gdb_index
Alan Modra <amodra@gmail.com>
CVE-2022-45703
8
Remove use of bfd_uint64_t and similar
Alan Modra <amodra@gmail.com>
CVE-2023-1579
9
sync with OE libtool changes
Ross Burton <ross.burton@intel.com>
10
warn for uses of system directories when cross linking
Khem Raj <raj.khem@gmail.com>
11
binutils/dwarf.c debug_information leak
Alan Modra <amodra@gmail.com>
CVE-2025-8225
12
Patch #12
Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
CVE-2025-0840
13
bfd/Dwarf2: gas doesn't mangle names
Jan Beulich <jbeulich@suse.com>
CVE-2022-48065
14
Patch #14
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-7545
15
gdb: warn unused result for bfd IO functions
Alan Modra <amodra@gmail.com>
CVE-2023-39130
16
Fix an illegal memory access when parsing a corrupt VMS Alpha
Nick Clifton <nickc@redhat.com>
CVE-2023-25584
17
dwarf2.c: mangle_style
Alan Modra <amodra@gmail.com>
CVE-2022-48065
18
Point scripts location to libdir
Khem Raj <raj.khem@gmail.com>
19
don't let the distro compiler point to the wrong installation
Khem Raj <raj.khem@gmail.com>
20
elf: Don't match corrupt section header in linker input
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-11083
21
Binutils support for dwarf-5 (location and range lists
Nick Clifton <nickc@redhat.com>
22
PR29925, Memory leak in find_abstract_instance
Alan Modra <amodra@gmail.com>
CVE-2022-48065
23
Binutils support for split-dwarf and dwarf-5
"Kumar N, Bhuvanendra" <Kavitha.Natarajan@amd.com>
24
gas: drop old cygnus install hack
Mike Frysinger <vapier@gentoo.org>
25
Lack of bounds checking in vms-alpha.c parse_module
Alan Modra <amodra@gmail.com>
CVE-2022-47673
CVE-2023-25584
26
Patch #26
Alan Modra <amodra@gmail.com>
CVE-2025-5244
27
Prevent an abort in the bfd linker when attempting to
Nick Clifton <nickc@redhat.com>
CVE-2025-1178
28
binutils-cross: Do not generate linker script directories
Khem Raj <raj.khem@gmail.com>
29
Fix an illegal memory access when parsing an ELF file
Nick Clifton <nickc@redhat.com>
CVE-2022-4285
30
Fix another illegal memory access triggered by corrupt ELF
Nick Clifton <nickc@redhat.com>
CVE-2025-1182
31
PR29922, SHT_NOBITS section avoids section size sanity check
Alan Modra <amodra@gmail.com>
CVE-2022-48064
32
Replace a run-time assertion failure with a warning message
Nick Clifton <nickc@redhat.com>
CVE-2022-35205
33
PR29262, memory leak in pr_function_type
Alan Modra <amodra@gmail.com>
CVE-2022-47010
34
Check for clang before checking gcc version
Khem Raj <raj.khem@gmail.com>
35
PR29254, memory leak in stab_demangle_v3_arg
Alan Modra <amodra@gmail.com>
CVE-2022-47007
36
PR29677, Field `the_bfd` of `asymbol` is uninitialised
Alan Modra <amodra@gmail.com>
CVE-2022-47696
CVE-2023-25588
37
Fix illegal memory access parsing corrupt DWARF information.
Nick Clifton <nickc@redhat.com>
CVE-2023-22608
38
binutils-crosssdk: Generate relocatable SDKs
Khem Raj <raj.khem@gmail.com>
39
BFD library: Use entry 0 in directory and filename tables of
Nick Clifton <nickc@redhat.com>
CVE-2023-22608
40
bfd: Add Support for DW_FORM_strx* and DW_FORM_addrx*
"Potharla, Rupesh" <Rupesh.Potharla@amd.com>
CVE-2023-1579
41
Fix NULL pointer indirection when parsing corrupt DWARF data.
Nick Clifton <nickc@redhat.com>
42
binutils/dwarf.c: abbrev caching
Alan Modra <amodra@gmail.com>
43
Patch #43
Yash Shinde <Yash.Shinde@windriver.com>
CVE-2024-53589
44
elf: Report corrupted group section
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-7546
45
Fix an attempt to allocate an unreasonably large amount of
Nick Clifton <nickc@redhat.com>
CVE-2022-48063
46
PR29230, segv in lookup_symbol_in_variable_table
Alan Modra <amodra@gmail.com>
CVE-2023-1579
47
Add code to display the contents of .debug_loclists sections
Nick Clifton <nickc@redhat.com>
48
PR29482 - strip: heap-buffer-overflow
Alan Modra <amodra@gmail.com>
49
binutils-nativesdk: Search for alternative ld.so.conf in SDK
Richard Purdie <richard.purdie@linuxfoundation.org>
50
Patch #50
Alan Modra <amodra@gmail.com>
CVE-2025-5245
51
Fix rpath in libtool when sysroot is enabled
Khem Raj <raj.khem@gmail.com>
52
PR 33452 SEGV in bfd_elf_gc_record_vtentry
Alan Modra <amodra@gmail.com>
CVE-2025-11412
53
Fix a potential illegal memory access in the BFD library when
Nick Clifton <nickc@redhat.com>
CVE-2023-1579
54
PR29846, segmentation fault in objdump.c compare_symbols
Alan Modra <amodra@gmail.com>
CVE-2022-47695
55
PR29261, memory leak in parse_stab_struct_fields
Alan Modra <amodra@gmail.com>
CVE-2022-47011
56
Verify COFF symbol stringtab offset
Keith Seitz <keiths@...>
CVE-2023-39129
57
Remove call to abort in the DGB debug format printing code,
Nick Clifton <nickc@redhat.com>
CVE-2025-11839
58
PR29799 heap buffer overflow in display_gdb_index
Alan Modra <amodra@gmail.com>
CVE-2022-45703
59
Add even more checks for corrupt input when processing
Nick Clifton <nickc@redhat.com>
CVE-2025-1181
60
Only generate an RPATH entry if LD_RUN_PATH is not empty
Khem Raj <raj.khem@gmail.com>
61
Pool section entries for DWP version 1
Alan Modra <amodra@gmail.com>
CVE-2022-44840
62
Patch #62
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-11494
63
Fix an illegal memory access when an accessing a zer0-lengthverdef table.
Nick Clifton <nickc@redhat.com>
CVE-2023-1972
64
Use libtool 2.4
Khem Raj <raj.khem@gmail.com>
65
PR29255, memory leak in make_tempdir
Alan Modra <amodra@gmail.com>
CVE-2022-47008
66
PR 33406 SEGV in dump_dwarf_section
Alan Modra <amodra@gmail.com>
CVE-2025-11081
67
Prevent illegal memory access when indexing into the
Nick Clifton <nickc@redhat.com>
CVE-2025-1180
68
miscellaneous dwarf.c tidies
Alan Modra <amodra@gmail.com>
69
Re: elf: Disallow the empty global symbol name
Alan Modra <amodra@gmail.com>
CVE-2025-11413
70
elf: Don't read beyond .eh_frame section size
"H.J. Lu" <hjl.tools@gmail.com>
CVE-2025-11082
71
Have gold's File_read::do_read() function check the start
Nick Clifton <nickc@redhat.com>
72
fix the incorrect assembling for ppc wait mnemonic
Zhenhua Luo <zhenhua.luo@nxp.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.
Exploitable
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.
Exploitable
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 classified as problematic has been found in GNU Binutils 2.43. This affects the function _bfd_elf_write_section_eh_frame of the file bfd/elf-eh-frame.c of the component ld. The manipulation leads to memory corruption. 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. It is recommended to apply a patch to fix this issue.
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.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 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
GNU objdump 2.43 is vulnerable to Buffer Overflow in the BFD (Binary File Descriptor) library's handling of tekhex format files.
Patched
GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap buffer overflow via the function pe_as16() at /gdb/coff-pe-read.c.
Patched
GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap use after free via the function add_pe_exported_sym() at /gdb/coff-pe-read.c.
Patched
A flaw was found in Binutils. The field `the_bfd` of `asymbol`struct is uninitialized in the `bfd_mach_o_get_synthetic_symtab` function, which may lead to an application crash and local denial of service.
Patched
A flaw was found in Binutils. The use of an uninitialized field in the struct module *module may lead to application crash and local denial of service.
Patched
An out-of-bounds read flaw was found in the parse_module function in bfd/vms-alpha.c in Binutils.
Patched
Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none
Patched
A potential heap based buffer overflow was found in _bfd_elf_slurp_version_tables() in bfd/elf.c. This may lead to loss of availability.
Patched
Heap based buffer overflow in binutils-gdb/bfd/libbfd.c in bfd_getl64.
Patched
GNU Binutils before 2.40 was discovered to contain a memory leak vulnerability var the function find_abstract_instance in dwarf2.c.
Patched
GNU Binutils before 2.40 was discovered to contain an excessive memory consumption vulnerability via the function bfd_dwarf2_find_nearest_line_with_alt at dwarf2.c. The attacker could supply a crafted ELF file and cause a DNS attack.
Patched
GNU Binutils before 2.40 was discovered to contain an excessive memory consumption vulnerability via the function load_separate_debug_files at dwarf2.c. The attacker could supply a crafted ELF file and cause a DNS attack.
Patched
An issue was discovered Binutils objdump before 2.39.3 allows attackers to cause a denial of service or other unspecified impacts via function compare_symbols.
Patched
An issue was discovered Binutils objdump before 2.39.3 allows attackers to cause a denial of service or other unspecified impacts via function bfd_mach_o_get_synthetic_symtab in match-o.c.
Patched
An issue was discovered in Binutils addr2line before 2.39.3, function parse_module contains multiple out of bound reads which may cause a denial of service or other unspecified impacts.
Patched
An issue was discovered function parse_stab_struct_fields in stabs.c in Binutils 2.34 thru 2.38, allows attackers to cause a denial of service due to memory leaks.
Patched
An issue was discovered function pr_function_type in prdbg.c in Binutils 2.34 thru 2.38, allows attackers to cause a denial of service due to memory leaks.
Patched
An issue was discovered function make_tempdir, and make_tempname in bucomm.c in Binutils 2.34 thru 2.38, allows attackers to cause a denial of service due to memory leaks.
Patched
An issue was discovered function stab_demangle_v3_arg in stabs.c in Binutils 2.34 thru 2.38, allows attackers to cause a denial of service due to memory leaks.
Patched
Heap buffer overflow vulnerability in binutils readelf before 2.40 via function display_debug_section in file readelf.c.
Patched
Heap buffer overflow vulnerability in binutils readelf before 2.40 via function find_section_in_set in file readelf.c.
Patched
An illegal memory access flaw was found in the binutils package. Parsing an ELF file containing corrupt symbol version information may result in a denial of service. This issue is the result of an incomplete fix for CVE-2020-16599.
Exploitable
In GNU Binutils before 2.40, there is a heap-buffer-overflow in the error function bfd_getl32 when called from the strip_main function in strip-new via a crafted file.
Patched
An issue was discovered in Binutils readelf 2.38.50, reachable assertion failure in function display_debug_names allows attackers to cause a denial of service.