Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2018-7642

binutils: NULL pointer dereference in swap_std_reloc_in function in aoutx.h resulting in crash

Overview

Published
2 Mar 2018
Modified
17 Jun 2026
Medium CVE
0 Registry packages
9 OS packages
7 Linux distributions
Yes Fix available

Description

The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.0 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness: CWE-476

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 11 fixes

Oracle Linux 1 release · 1 package

fixed 1
binutils
Oracle Linux fixes for CVE-2018-7642
ReleasePackageFixed in
7 binutils +1 2.27-34.base.0.1.el7

Photon OS 1 release · 1 package

fixed 1
crash
Photon OS fixes for CVE-2018-7642
ReleasePackageFixed in
4.0 crash +1 8.0.2-1.ph4

Red Hat 1 release · 1 package

fixed 1
binutils
Red Hat fixes for CVE-2018-7642
ReleasePackageFixed inAdvisory
7 binutils +1 0:2.27-34.base.el7 RHSA-2018:3032

debian 5 releases · 1 package

fixed 4 affected 1
binutils
debian fixes for CVE-2018-7642
ReleasePackageFixed in
11 binutils 2.30-6
12 binutils 2.30-6
13 binutils 2.30-6
14 binutils 2.30-6
9 binutils affected

echo 1 release · 1 package

fixed 1
binutils
echo fixes for CVE-2018-7642
ReleasePackageFixed in
binutils 2.30-6

openSUSE 1 release · 1 package

fixed 1
binutils
openSUSE fixes for CVE-2018-7642
ReleasePackageFixed inAdvisory
Tumbleweed binutils +5 2.37-1.3 openSUSE-SU-2024:10651-1

root.io debian 1 release · 1 package

fixed 1
rootio-binutils
root.io debian fixes for CVE-2018-7642
ReleasePackageFixed in
12 rootio-binutils 2.30-6

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.