CVE-2022-44840 Memory corruption in n/a

High 7.8 Published Updated

Heap buffer overflow in binutils readelf allows attackers to execute arbitrary code or cause denial of service via crafted ELF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-44840?

CVE-2022-44840 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Heap buffer overflow vulnerability in binutils readelf before 2.40 via function find_section_in_set in file readelf.c.

Weakness: CWE-787

Which versions are affected by CVE-2022-44840?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2022-44840?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-44840 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as BELL-CVE-2022-44840, CLSA-2026-1776699147, DEBIAN-CVE-2022-44840, GHSA-6hf6-4792-jww6, UBUNTU-CVE-2022-44840.

Is CVE-2022-44840 in your software?

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

Check your SBOMs for free