CVE-2018-18520: An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174.
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.7% (FIRST EPSS); higher than 86.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: elfutils (Debian:12) 0.175-1; elfutils (Debian:8) 0.159-4.2+deb8u1; elfutils (Debian:9) 0.168-1+deb9u1.
Low priority for now. Upgrade to elfutils (Debian:12) 0.175-1; elfutils (Debian:8) 0.159-4.2+deb8u1; elfutils (Debian:9) 0.168-1+deb9u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.
- Published
- Oct 19, 2018
- Updated
- Jun 16, 2026
- EPSS
- 2.7% · 86th percentile
- CWE
- CWE-119
Report tools
Action score
27
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| elfutils project | elfutils | cpe:2.3:a:elfutils_project:elfutils |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux18.10
- debian debian linux8.0
- debian debian linux9.0
- elfutils project elfutilsup to 0.174 inclusive
- opensuse leap15.0
- opensuse leap15.1
+3 more rows
- redhat enterprise linux desktop7.0
- redhat enterprise linux server7.0
- redhat enterprise linux workstation7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | elfutils | before 0.175-1 | 0.175-1 |
| Debian:8 | elfutils | before 0.159-4.2+deb8u1 | 0.159-4.2+deb8u1 |
| Debian:9 | elfutils | before 0.168-1+deb9u1 | 0.168-1+deb9u1 |
| openSUSE:Leap 15.0 | elfutils | before 0.168-lp151.4.3.1 | 0.168-lp151.4.3.1 |
| openSUSE:Leap 15.3 | dwarves | before 1.22-150300.7.3.1 | 1.22-150300.7.3.1 |
| openSUSE:Leap 15.3 | elfutils | before 0.177-150300.11.3.1 | 0.177-150300.11.3.1 |
| Red Hat:enterprise_linux:7::client | elfutils | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-debuginfo | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-default-yama-scope | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-devel | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-devel-static | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-libelf | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-libelf-devel | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-libelf-devel-static | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-libs | before 0:0.176-2.el7 | 0:0.176-2.el7 |
| SUSE:Linux Enterprise Desktop 12 SP3 | elfutils | before 0.158-7.7.2 | 0.158-7.7.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 | elfutils | before 0.168-4.5.3 | 0.168-4.5.3 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | dwarves | before 1.22-150300.7.3.1 | 1.22-150300.7.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | elfutils | before 0.177-150300.11.3.1 | 0.177-150300.11.3.1 |
Same product
elfutils project: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-16402libelf/elf_end.c in elfutils 0.173 allows remote attackers to cause a denial of service (double free and application crash) or possibly…40Plan
- CVE-2018-8769elfutils 0.170 has a buffer over-read in the ebl_dynamic_tag_name function of libebl/ebldynamictagname.c because SYMTAB_SHNDX is…31Monitor
- CVE-2014-0172Integer overflow in the check_section function in dwarf_begin_elf.c in the libdw library, as used in elfutils 0.153 and possibly through…28Monitor
Published before and after this one in the same product
- ← EarlierCVE-2018-16403Sep 3, 2018 · libdw in elfutils 0.173 checks the end of the attributes list incorrectly in dwarf_getabbrev in dwarf_getabbrev.c and dwarf_hasattr in…22Monitor
- ← EarlierCVE-2018-18310Oct 14, 2018 · An invalid memory address dereference was discovered in dwfl_segment_report_module.c in libdwfl in elfutils through v0.174.22Monitor
- Later →CVE-2018-18521Oct 19, 2018 · 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…23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:elfutils | 0.175-1 · Debian:12 | Package registry (OSV) |
| opensuse:dwarves | 1.22-150300.7.3.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:elfutils | 0.177-150300.11.3.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:elfutils | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:elfutils-debuginfo | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:elfutils-default-yama-scope | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:elfutils-devel | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:elfutils-devel-static | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:elfutils-libelf | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:elfutils-libelf-devel | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:elfutils-libelf-devel-static | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:elfutils-libs | 0:0.176-2.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:dwarves | 1.22-150300.7.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package registry (OSV) |
| suse:elfutils | 0.168-4.5.3 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:elfutils | 0.177-150300.11.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.