CVE-2018-1000140

Exp

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.

Published: 2018-03-23 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-1000140 is rated High Exploit Risk (87.4/100): CVSS Critical severity, with high exploitation likelihood (EPSS 27.16%, 96th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-1000140

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-1000140

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-07 27.66% 27.16% -0.51%
2 2026-01-25 27.37% 27.66% +0.29%
3 2026-01-20 27.37%

Full EPSS history (37 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-1000140

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2018-1000140

OS Trackers for CVE-2018-1000140

vendor priority summary link
debian not yet assigned CVE-2018-1000140 not yet assigned priority: Debian including 1 source packages (librelp), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-1000140
gentoo high CVE-2018-1000140: 1 GLSA(s) (201804-21), 1 atom(s) (dev-libs/librelp); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-1000140
redhat critical https://access.redhat.com/security/cve/CVE-2018-1000140
suse critical CVE-2018-1000140 severity critical: SUSE including 17 source package names (librelp, librelp-1.2.12-1.el7_5.1, …), 84 product×package rows across 56 product lines (HPE Helion OpenStack 8, SUSE CaaS Platform 4.0, … (56 product lines)): Fixed 48, Known Not Affected 36. https://www.suse.com/security/cve/CVE-2018-1000140/
ubuntu medium CVE-2018-1000140 medium priority: Ubuntu including 1 source packages (librelp), 15 status rows across 15 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, trusty, upstream, xenial): not-affected 10, released 4, ignored 1. https://ubuntu.com/security/CVE-2018-1000140

Affected software / configurations for CVE-2018-1000140

Vendor Product Version Raw CPE
rsyslog librelp <= 1.2.14 cpe:2.3:a:rsyslog:librelp:*:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
redhat enterprise_linux_desktop 6.0 cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 7.0 cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server 6.0 cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
redhat enterprise_linux_server 7.0 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 6.6 cpe:2.3:o:redhat:enterprise_linux_server_aus:6.6:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 7.2 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 7.3 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 7.4 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 7.6 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 6.7 cpe:2.3:o:redhat:enterprise_linux_server_eus:6.7:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.3 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.4 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.5 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.6 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
redhat enterprise_linux_server_tus 6.6 cpe:2.3:o:redhat:enterprise_linux_server_tus:6.6:*:*:*:*:*:*:*
redhat enterprise_linux_server_tus 7.2 cpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:*
redhat enterprise_linux_server_tus 7.3 cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*
redhat enterprise_linux_server_tus 7.4 cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:*
redhat enterprise_linux_server_tus 7.6 cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 6.0 cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 7.0 cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*

References for CVE-2018-1000140

URL Tags
http://packetstormsecurity.com/files/172829/librelp-Remote-Code-Execution.html
https://access.redhat.com/errata/RHSA-2018:1223 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1225 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1701 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1702 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1703 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1704 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1707 Third Party Advisory
https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205 Patch Third Party Advisory
https://lgtm.com/rules/1505913226124/ Exploit Third Party Advisory
https://security.gentoo.org/glsa/201804-21 Third Party Advisory
https://usn.ubuntu.com/3612-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4151 Third Party Advisory
cvelogic Threat Intelligence