CVE-2018-1125
No exploitation reported by the sources we read.
- Published2018-05-23
- WeaknessCWE-121 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2018-05-2314:29CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.4 | = 12.04 | no fix published | NVD |
| 14.4 | = 14.04 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| 17.10 | = 17.10 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0 | no fix published | NVD |
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 15.1 | = 15.1 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- [UNKNOWN] procps-ng, procpsAffected
- = procps-ng 3.3.15no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2019-10-26
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- procpsUbuntu:18.04:LTSall versions · fixed in 2:3.3.12-3ubuntu1.1
- procpsUbuntu:16.04:LTSall versions · fixed in 2:3.3.10-4ubuntu2.4
- procpsUbuntu:14.04:LTSall versions · fixed in 1:3.3.9-1ubuntu2.3
- procpsSUSE:OpenStack Cloud 7all versions · fixed in 3.3.9-11.18.1
- procpsSUSE:Linux Enterprise Software Development Kit 12 SP4all versions · fixed in 3.3.9-11.18.1
- procpsSUSE:Linux Enterprise Software Development Kit 12 SP3all versions · fixed in 3.3.9-11.11.1
- procpsSUSE:Linux Enterprise Software Development Kit 12 SP3all versions · fixed in 3.3.9-11.14.1
- procpsSUSE:Linux Enterprise Software Development Kit 12 SP3all versions · fixed in 3.3.9-11.18.1
32 more package ranges on OSV.dev
Vendor advisories
procps: stack buffer overflow in pgrep
procps as a component of Red Hat Enterprise Linux 5 · procps as a component of Red Hat Enterprise Linux 6 · procps-devel as a component of Red Hat Enterprise Linux 6 · +5 more
Fix
- Workaround from the vendor Red Hat Product Security CVE-2018-1125 · 12 productsThe procps suite on Red Hat Enterprise Linux is built with FORTIFY, which limits the impact of this stack overflow (and others like it) to a crash.
- No fix planned, says the vendor Red Hat Product Security CVE-2018-1125 · 8 productsWill not fix
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-12-17
- CISA-ADPCVSS 3.17.52025-12-17
- NVDCVSS 3.17.5read 2026-10-23
- CNACVSS 3.04.4known since 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- CISA-ADPweakness (CWE)CWE-1212025-12-17
- CNAweakness (CWE)CWE-121known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score1.8 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2018-11769same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-jpw5-97m6-c8m2same flawGitHub Advisory Database · CC-BY-4.0
- DLA-1390-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4208-1advisory covering several CVEsDebian · LicenseRef-unstated
- openSUSE-SU-2019:2376-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2019:2379-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11195-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2018:1836-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2042-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2451-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:0450-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:0450-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:2730-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3658-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2018-05-23
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-jpw5-97m6-c8m2
Frequently asked questions
What is CVE-2018-1125?
Is CVE-2018-1125 actively exploited?
What is the CVSS score for CVE-2018-1125?
Running procps? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-jpw5-97m6-c8m2
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0