CVE-2018-1125: canonical ubuntu_linux Stack-based Buffer Overflow
Vulnerability summary
CVE-2018-1125 is a high (CVSS 7.5) Stack-based Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 1.86% chance of exploitation in the next 30 days, higher than 78.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 12 · Related 10Timeline
- 23-05-2018PublishedVulnerability first disclosed.
- 17-12-2025Last modifiedVulnerability information updated.
Description
procps-ng before version 3.3.15 is vulnerable to a stack buffer overflow in pgrep. This vulnerability is mitigated by FORTIFY, as it involves strncat() to a stack-allocated string. When pgrep is compiled with FORTIFY (as on Red Hat Enterprise Linux and Fedora), the impact is limited to a crash.
CVSS metrics
8 scores · 4 sources · 3 versions- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST4.4MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
1.86%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
-0.07 pp
From 1.93% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (qualys.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian2 products
- procps< 2:3.3.15-1
- debian_linuxEOL7.0 | 8.0 | 9.0
[unknown]1 product
- procps-ng, procpsprocps-ng 3.3.15
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 17.10 | 18.04
Opensuse1 product
- leapEOL15.1
Procps-ng_project1 product
- procps-ng< 3.3.15
Ubuntu1 product
- procps< 1:3.3.9-1ubuntu2.3 | < 2:3.3.10-4ubuntu2.4 | < 2:3.3.12-3ubuntu1.1
6 vendors · 7 products
References
15 links- lists.debian.org/debian-lts-announce/2018/05/msg00021.htmlMailing ListX Refsource MLISTThird Party Advisory
- www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txtX Refsource MISCExploitThird Party AdvisoryREPORT
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00058.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00059.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory