# CVE-2019-17042: An issue was discovered in Rsyslog v8.1908.0.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.98%, higher than 87% of CVEs (2026-12-01)
- Published: 2019-10-07T15:34:04.000Z
- Modified: 2026-06-17T02:23:11.913Z
- Weaknesses: CWE-20
- Assigned by: mitre

## Description

An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco log messages. The parser tries to locate a log message delimiter (in this case, a space or a colon), but fails to account for strings that do not satisfy this constraint. If the string does not match, then the variable lenMsg will reach the value zero and will skip the sanity check that detects invalid log messages. The message will then be considered valid, and the parser will eat up the nonexistent colon delimiter. In doing so, it will decrement lenMsg, a signed integer, whose value was zero and now becomes minus one. The following step in the parser is to shift left the contents of the message. To do this, it will call memmove with the right pointers to the target and destination strings, but the lenMsg will now be interpreted as a huge value, causing a heap overflow.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rsyslog rsyslog: 8.1908.0
- fedoraproject fedora: 30; 31
- debian debian_linux: 9.0
- opensuse leap: 15.0; 15.1

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog> (release-notes, third-party-advisory)
- <https://github.com/rsyslog/rsyslog/pull/3883> (patch, third-party-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2019-17042](https://www.cve.org/CVERecord?id=CVE-2019-17042), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-17042](https://nvd.nist.gov/vuln/detail/CVE-2019-17042), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-17042 · Whole record: https://cve.day/CVE-2019-17042.json · Rebuilt by cve.day 2026-11-25T22:57:47.339Z
