CVE-2025-11495 GNU Binutils Linker elf64-x86-64.c elf_x86_64_relocate_section heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in the GNU Binutils linker allows local attackers to execute arbitrary code or cause a 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-11495?

CVE-2025-11495 is a medium-severity memory corruption vulnerability in Gnu Binutils, published on 8 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was determined in GNU Binutils 2.45. The affected element is the function elf_x86_64_relocate_section of the file elf64-x86-64.c of the component Linker. This manipulation causes heap-based buffer overflow. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. Patch name: 6b21c8b2ecfef5c95142cbc2c32f185cb1c26ab0. To fix this issue, it is recommended to deploy a patch.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2025-11495?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2025-11495?

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

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

All Gnu Binutils vulnerabilities

Sources

Also known as BELL-CVE-2025-11495, DEBIAN-CVE-2025-11495, ECHO-e055-a186-4ce3, GHSA-q93h-5j3x-2h4v, MINI-vcm6-9239-fc2r, ROOT-OS-DEBIAN-12-CVE-2025-11495 and 1 more.

Is CVE-2025-11495 in your software?

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

Check your SBOMs for free