CVE-2018-1125: procps-ng before version 3.3.15 is vulnerable to a stack buffer overflow in pgrep
CVE-2018-1125 is a high-severity flaw (CVSS 7.5) affecting procps-ng, ubuntu linux, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-1125?
procps-ng: upgrade to 3.3.15; ubuntu linux: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-1125 being exploited?
CVE-2018-1125 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-1125 affect?
CVE-2018-1125 affects procps-ng, ubuntu linux, debian linux. Severity is high (CVSS 7.5). 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 Enterpri
How urgent is CVE-2018-1125?
Priority 61/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Ubuntu vulnerabilities · Debian vulnerabilities · Red Hat Enterprise Linux vulnerabilities
Related CVEs
- CVE-2018-1126 MEDIUM 4.8 UPGRADE MITIGATE procps-ng before version 3.3.15 is vulnerable to an incorrect integer size in proc/alloc.* leading to truncati
- CVE-2018-1124 HIGH 7.8 UPGRADE MITIGATE procps-ng before version 3.3.15 is vulnerable to multiple integer overflows leading to a heap corruption in fi
- CVE-2018-1123 LOW 3.9 UPGRADE MITIGATE procps-ng before version 3.3.15 is vulnerable to a denial of service in ps via mmap buffer overflow
- CVE-2018-1122 HIGH 7.3 UPGRADE MITIGATE procps-ng before version 3.3.15 is vulnerable to a local privilege escalation in top