{"id":"UBUNTU-CVE-2018-1125","details":"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.","modified":"2026-04-22T12:47:12.081512Z","published":"2018-05-17T17:00:00Z","related":["USN-3658-1","USN-3658-3"],"upstream":["CVE-2018-1125"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1125"},{"type":"REPORT","url":"https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3658-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3658-3"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1125"}],"affected":[{"package":{"name":"procps","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/procps@1:3.3.9-1ubuntu2.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.3.9-1ubuntu2.3"}]}],"versions":["1:3.3.3-2ubuntu7","1:3.3.3-2ubuntu8","1:3.3.8-2ubuntu1","1:3.3.8-2ubuntu3","1:3.3.9-1ubuntu2","1:3.3.9-1ubuntu2.1","1:3.3.9-1ubuntu2.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libprocps3","binary_version":"1:3.3.9-1ubuntu2.3"},{"binary_name":"procps","binary_version":"1:3.3.9-1ubuntu2.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1125.json"}},{"package":{"name":"procps","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/procps@2:3.3.10-4ubuntu2.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.3.10-4ubuntu2.4"}]}],"versions":["1:3.3.9-1ubuntu8","2:3.3.10-4ubuntu1","2:3.3.10-4ubuntu2","2:3.3.10-4ubuntu2.2","2:3.3.10-4ubuntu2.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libprocps4","binary_version":"2:3.3.10-4ubuntu2.4"},{"binary_name":"procps","binary_version":"2:3.3.10-4ubuntu2.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1125.json"}},{"package":{"name":"procps","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/procps@2:3.3.12-3ubuntu1.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.3.12-3ubuntu1.1"}]}],"versions":["2:3.3.12-1ubuntu2","2:3.3.12-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libprocps6","binary_version":"2:3.3.12-3ubuntu1.1"},{"binary_name":"procps","binary_version":"2:3.3.12-3ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1125.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}