CVE-2018-1000140: Buffer Overflow
Last updated 25 August 2025
Other sources
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.
Upstream patch:
https://github.com/rsyslog/librelp/commit/2cfe657672636aa5d7d2a14cfcb0a6ab9d1f00cf
References:
https://lgtm.com/rules/1505913226124/ https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205
— Red Hat
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.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2018-1000140?
CVE-2018-1000140 is a Buffer Overflow vulnerability in rsyslog librelp version 1.2.14 and earlier.
How severe is CVE-2018-1000140?
CVE-2018-1000140 has a severity rating of 9.8 (Critical).
How can CVE-2018-1000140 be exploited?
CVE-2018-1000140 can be exploited by a remote attacker who can connect to rsyslog and trigger a stack buffer overflow.
How do I fix CVE-2018-1000140?
To fix CVE-2018-1000140, update to rsyslog librelp version 1.2.15.
Where can I find more information about CVE-2018-1000140?
You can find more information about CVE-2018-1000140 at the following references: [1] [2] [3].