CVE Database›CVE-2018-1125

CVE-2018-1125

procps: stack buffer overflow in pgrep

Loading…

Severity

Low

Red Hat Product Security

4.4

CVSS 3.0

Review impact separately from score.

Published · May 18, 2018

Updated · December 18, 2025

Description

If a process inspected by pgrep has an argument longer than INT_MAX bytes, "int bytes" could wrap around back to a large positive int (rather than approaching zero), leading to a stack buffer overflow via strncat().

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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.

CVSS / CWE

CVSS 3.0 · 4.4
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

CWE-121 · Stack-based Buffer Overflow