CVE-2025-1181 GNU Binutils ld elflink.c _bfd_elf_gc_mark_rsec memory corruption

Low 2.3 Published Updated

A memory corruption vulnerability in the GNU Binutils linker allows remote attackers to potentially execute code or cause denial of service via crafted ELF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-1181?

CVE-2025-1181 is a low-severity memory corruption vulnerability in Gnu Binutils, published on 11 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2025-1181?

It affects 3 products.

Products include Gnu Binutils, Netapp Active Iq Unified Manager, Netapp Ontap Select Deploy Administration Utility.

How do I fix CVE-2025-1181?

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-1181 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1181 exists.

All Gnu Binutils vulnerabilities

Sources

Also known as AZL-56558, AZL-56664, BELL-CVE-2025-1181, CLSA-2025-1766657780, DEBIAN-CVE-2025-1181, ECHO-2d82-28f6-b8f6 and 2 more.

Is CVE-2025-1181 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free