CVE-2018-1125 json
procps-ng before version 3.3.15 is vulnerable to a stack buffer overflow in pgrep.
published 2018-05-23 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-11769
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- procps-ng_project procps-ng 3.3.15
- procps Debian 14, Debian 13, Debian 12 2:3.3.15-1
debian advisories DEBIAN-CVE-2018-1125
- procps Ubuntu 14.04 LTS 1:3.3.9-1ubuntu2.3
- procps Ubuntu 16.04 LTS 2:3.3.10-4ubuntu2.4
- procps Ubuntu 18.04 LTS 2:3.3.12-3ubuntu1.1
ubuntu advisories UBUNTU-CVE-2018-1125
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- procps SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 3.3.15-7.7.26
- procps SLES 12 SP4, SLES 12 SP3, SLES 12 SP2-BCL +13 more 3.3.9-11.18.1
- procps SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 3.3.9-11.14.1
- procps SLES for SAP 11 SP4, SLES 11 SP4 3.2.7-152.31.1
- procps SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 3.3.9-11.11.1
suse advisories SUSE-SU-2019:2730-1SUSE-SU-2019:0450-2SUSE-SU-2019:0450-1SUSE-SU-2018:2451-2SUSE-SU-2018:2042-1SUSE-SU-2018:1836-1
- procps openSUSE Tumbleweed 3.3.17-5.2
- procps openSUSE Leap 15.0 3.3.15-lp150.5.3.1
- procps openSUSE Leap 15.1 3.3.15-lp151.6.3.1
opensuse advisories openSUSE-SU-2024:11195-1openSUSE-SU-2019:2379-1openSUSE-SU-2019:2376-1
- procps-ng Arch Linux 3.3.15-1
arch linux advisories AVG-705
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1125 updated cvss 4.4
procps: stack buffer overflow in pgrep
-
Red Hat Enterprise Linux 5 procps Red Hat Enterprise Linux 6 procps Red Hat Enterprise Linux 7 procps-ng, procps-ng-i18naffected: workaround, no fix planned “The 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.”
-
Red Hat Enterprise Linux 8 procps-ng, procps-ng-i18nnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- qualys.com https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.4 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected products
- [UNKNOWN] procps-ng, procps
Classification
References
-
qualys.com
/2018/05/17/procps-ng-audit-report-advisory.txt
exploit, third-party-advisory
-
usn.ubuntu.com
/3658-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4208
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3658-3/
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-10/msg00058.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-10/msg00059.html
vendor-advisory, mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-1125
issue-tracking
-
lists.debian.org
/debian-lts-announce/2018/05/msg00021.html
mailing-list, third-party-advisory
-
securityfocus.com
/bid/104214
vdb-entry, third-party-advisory
-
seclists.org
/oss-sec/2018/q2/122
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-1125
- NVD CVE-2018-1125
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.