cve.bz

CVE-2022-44840 gnu binutils: Out-of-bounds Write

7.8 highExploit referenceEPSS 0.5%

High (7.8) in gnu binutils. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-10-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-44840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-44840?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-44840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-44840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:binutilsbefore 2.40

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14binutils2.40-2DEBIAN-CVE-2022-44840
Ubuntu20.04:LTSbinutils2.34-6ubuntu1.8UBUNTU-CVE-2022-44840 USN-6581-1
Ubuntu22.04:LTSbinutils2.38-4ubuntu2.5UBUNTU-CVE-2022-44840 USN-6581-1
UbuntuPro:14.04:LTSbinutils2.24-5ubuntu14.2+esm3UBUNTU-CVE-2022-44840 USN-6381-1
UbuntuPro:16.04:LTSbinutils2.26.1-1ubuntu1~16.04.8+esm7UBUNTU-CVE-2022-44840 USN-6381-1
UbuntuPro:18.04:LTSbinutils2.30-21ubuntu1~18.04.9+esm1UBUNTU-CVE-2022-44840 USN-6381-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 16 morebinutils2.41-150100.7.46.1SUSE-SU-2023:3825-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5binutils2.41-9.53.1SUSE-SU-2023:3695-1
openSUSELeap 15.4binutils2.41-150100.7.46.1SUSE-SU-2023:3825-1
openSUSELeap 15.5binutils, cross-rx-binutils, cross-arm-binutils and 20 more2.41-150100.7.46.1SUSE-SU-2023:3825-1
openSUSETumbleweedbinutils2.41-1.2openSUSE-SU-2024:13411-1
Alpaquita23binutils2.40-r2BELL-CVE-2022-44840
BellSoft Hardened Containers23binutils2.40-r2BELL-CVE-2022-44840

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The issue is classified as low severity primarily because binutils is not typically exposed to untrusted inputs in our environments, limiting its exploitation potential. The buffer overflow in find_section_in_set() only triggers during the parsing of malformed ELF files, which would require an attacker to convince a user to process a malicious ELF file with readelf. Moreover, binutils does not handle privileged operations, meaning exploitation is unlikely to lead to system compromise or escalation of privileges. Additionally, the impact is localized to the application itself, without affecting the broader system or network security.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6binutilsOut of support scope
Red Hat Enterprise Linux 7binutilsOut of support scope
Red Hat Enterprise Linux 7gdbOut of support scope
Red Hat Enterprise Linux 8binutilsWill not fix
Red Hat Enterprise Linux 8gcc-toolset-11-binutilsFix deferred
Red Hat Enterprise Linux 8gcc-toolset-11-gdbNot affected
Red Hat Enterprise Linux 8gcc-toolset-12-binutilsFix deferred
Red Hat Enterprise Linux 8gcc-toolset-12-gdbNot affected
Red Hat Enterprise Linux 8gcc-toolset-13-binutilsFix deferred
Red Hat Enterprise Linux 8gcc-toolset-13-gdbAffected
Red Hat Enterprise Linux 8gdbNot affected
Red Hat Enterprise Linux 8mingw-binutilsFix deferred
Red Hat Enterprise Linux 9binutilsWill not fix
Red Hat Enterprise Linux 9gcc-toolset-12-binutilsFix deferred
Red Hat Enterprise Linux 9gcc-toolset-12-gdbNot affected
Red Hat Enterprise Linux 9gcc-toolset-13-binutilsFix deferred
Red Hat Enterprise Linux 9gcc-toolset-13-gdbNot affected
Red Hat Enterprise Linux 9gdbNot affected
Red Hat Enterprise Linux 9mingw-binutilsFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-44840.

References

Check your stackJSON