CVE-2025-7546 GNU Binutils elf.c bfd_elf_set_group_contents out-of-bounds write
A local attacker can trigger an out-of-bounds write in GNU Binutils, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-7546?
CVE-2025-7546 is a medium-severity memory corruption vulnerability in Gnu Binutils, published on 13 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-7546?
It affects 1 product.
Products include Gnu Binutils.
How do I fix CVE-2025-7546?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-7546 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7546 exists.
Other vulnerabilities in Gnu Binutils
Sources
Also known as AZL-65349, AZL-65358, AZL-65381, AZL-65400, BELL-CVE-2025-7546, DEBIAN-CVE-2025-7546 and 8 more.