CVE & CISA-KEV Catalog

CVE-2018-18521

MEDIUMEPSS 77th pctl
5.5
CVSS v3
NVD

Description

Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.

How to fix

Remediation Available
elfutilsAmazon
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
elfutils-debuginfoAmazon
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
elfutils-default-yama-scopeAmazon
Fixed in:0:0.176-2.amzn2
elfutils-develAmazon
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
elfutils-devel-staticAmazon
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
elfutils-libelfAmazon
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
elfutils-libelf-develAmazon
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
elfutils-libelf-devel-staticAmazon
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
elfutils-libsAmazon
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
Fixed in:0:0.176-2.amzn2
elfutilsDebian
Fixed in:0.175-1CVE-2018-18521
Fixed in:0.175-1CVE-2018-18521
Fixed in:0.175-1CVE-2018-18521
elfutilsUbuntu
Fixed in:0.158-0ubuntu5.3+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:0.165-3ubuntu1.2USN-4012-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.165-3ubuntu1.2+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.170-0.4ubuntu0.1USN-4012-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.170-0.4ubuntu0.1+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.176-1.1ubuntu0.1USN-6322-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

libasm1Ubuntu
Fixed in:0.158-0ubuntu5.3+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:0.165-3ubuntu1.2USN-4012-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.165-3ubuntu1.2+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.170-0.4ubuntu0.1+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.170-0.4ubuntu0.1USN-4012-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.176-1.1ubuntu0.1USN-6322-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

libdw1Ubuntu
Fixed in:0.158-0ubuntu5.3+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:0.165-3ubuntu1.2+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.165-3ubuntu1.2USN-4012-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.170-0.4ubuntu0.1+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.170-0.4ubuntu0.1USN-4012-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.176-1.1ubuntu0.1USN-6322-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

libelf1Ubuntu
Fixed in:0.158-0ubuntu5.3+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:0.165-3ubuntu1.2+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.165-3ubuntu1.2USN-4012-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.170-0.4ubuntu0.1+esm1USN-6322-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.170-0.4ubuntu0.1USN-4012-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.176-1.1ubuntu0.1USN-6322-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

1.75%probability of exploitation in 30 days
77thpercentile

Elevated risk: more likely to be exploited than 77% of all known CVEs.

References

Related Vulnerabilities

Other CWE-369 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2012-0207High7.520%-Fix
CVE-2017-8537Medium5.517%--
CVE-2017-8536Medium5.517%--
CVE-2017-8535Medium5.517%--
CVE-2007-2237Medium5.515%--
CVE-2025-0317High7.514%--

Common questions

How do I fix CVE-2018-18521?

Published advisories record a fix for 14 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2018-18521 being actively exploited?

Not that we know of. CVE-2018-18521 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.8% is the estimated probability that it will be exploited in the next 30 days. That is higher than 77% of all scored CVEs.

How severe is CVE-2018-18521?

CVE-2018-18521 has a CVSS v3 base score of 5.5, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2018-18521 affect?

Published advisories record a fix for elfutils (Amazon), elfutils-debuginfo (Amazon), elfutils-default-yama-scope (Amazon), elfutils-devel (Amazon), and 10 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2018-18521
CVE-2018-18521 severity badge

Markdown

[![CVE-2018-18521](https://tridentstack.com/cve/badge/CVE-2018-18521.svg)](https://tridentstack.com/cve/CVE-2018-18521)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-18521"><img src="https://tridentstack.com/cve/badge/CVE-2018-18521.svg" alt="CVE-2018-18521"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.