{"id":"UBUNTU-CVE-2018-1000140","details":"rsyslog librelp version 1.2.14 and earlier contains a Buffer Overflow vulnerability in the checking of x509 certificates from a peer that can result in Remote code execution. This attack appear to be exploitable a remote attacker that can connect to rsyslog and trigger a stack buffer overflow by sending a specially crafted x509 certificate.","modified":"2026-04-22T11:34:54.963094Z","published":"2018-03-23T00:00:00Z","related":["USN-3612-1","USN-4828-1"],"upstream":["CVE-2018-1000140"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1000140"},{"type":"REPORT","url":"https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205"},{"type":"REPORT","url":"https://lgtm.com/rules/1505913226124/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3612-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4828-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000140"}],"affected":[{"package":{"name":"librelp","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/librelp@1.2.2-2ubuntu1.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-2ubuntu1.1"}]}],"versions":["1.1.4-1","1.2.0-1","1.2.0-1ubuntu1","1.2.2-2ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.2.2-2ubuntu1.1","binary_name":"librelp0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000140.json"}},{"package":{"name":"librelp","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/librelp@1.2.9-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.9-1ubuntu0.1~esm1"}]}],"versions":["1.2.7-3","1.2.8-1","1.2.9-1","1.2.9-1build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"librelp0","binary_version":"1.2.9-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000140.json"}},{"package":{"name":"librelp","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/librelp@1.2.14-3ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.14-3ubuntu0.1~esm1"}]}],"versions":["1.2.14-2","1.2.14-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.2.14-3ubuntu0.1~esm1","binary_name":"librelp0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000140.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}