procps: stack buffer overflow in pgrep
Published May 23, 2018
7.5
HIGHCVSS 3.1
EPSS 1.86%
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.
Affected products
- Vendor n/a Product Procps-Ng, Procps Defaultn/a
- Version procps-ng 3.3.15StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Procps-Ng, Procps | n/a |
|
Configuration 1
- < 3.3.15
Configuration 2
- 12.04
- 14.04
- 16.04
- 17.10
- 18.04
Configuration 3
- 7.0
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 5
procps
Will not fix
Red Hat Enterprise Linux 6
procps
Will not fix
Red Hat Enterprise Linux 7
procps-ng
Will not fix
Red Hat Enterprise Linux 8
procps-ng
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | procps | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | procps | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | procps-ng | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | procps-ng | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
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.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Dec 17, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.86% (0.01856) | 78.44th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.20% (0.02201) | 80.14th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.47% (0.00470) | 62.54th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.47% (0.00466) | 76.31th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.47% (0.00466) | 74.75th | v3 (v2023.03.01) |
| Oct 14, 2023 | 0.47% (0.00466) | 72.70th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.54% (0.00542) | 74.42th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.49% (0.00491) | 72.42th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.27% (0.02273) | 50.89th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.27% (0.02273) | 0.00th | v1 |
References (14)
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00058.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00059.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://seclists.org/oss-sec/2018/q2/122 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/104214 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-1125 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1575852 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1125 x_refsource_CONFIRMIssue Tracking
- https://lists.debian.org/debian-lts-announce/2018/05/msg00021.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-1125
- https://usn.ubuntu.com/3658-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3658-3/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1125
- https://www.debian.org/security/2018/dsa-4208 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt x_refsource_MISCExploitThird Party Advisory
Change history (0)
No recorded changes yet.