CVE-2019-17040: contrib/pmdb2diag/pmdb2diag.c in Rsyslog v8.1908.0 allows out-of-bounds access because the level length is mis
CVE-2019-17040 is a critical-severity flaw (CVSS 9.8) affecting rsyslog. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
contrib/pmdb2diag/pmdb2diag.c in Rsyslog v8.1908.0 allows out-of-bounds access because the level length is mishandled.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.4% (top 16%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2019-09-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-17040?
rsyslog: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2019-17040 being exploited?
CVE-2019-17040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-17040 affect?
CVE-2019-17040 affects rsyslog. Severity is critical (CVSS 9.8). contrib/pmdb2diag/pmdb2diag.c in Rsyslog v8.1908.0 allows out-of-bounds access because the level length is mishandled.
How urgent is CVE-2019-17040?
Priority 60/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-19654 HIGH 7.5 UPGRADE MITIGATE A unauthenticated remote peer may lead rsyslogd to crash due to a flaw in the optional imptcp module
- CVE-2019-17042 CRITICAL 9.8 DOWNGRADE MITIGATE An issue was discovered in Rsyslog v8.1908.0
- CVE-2019-17041 CRITICAL 9.8 DOWNGRADE MITIGATE An issue was discovered in Rsyslog v8.1908.0
- CVE-2018-16881 HIGH 7.5 UPGRADE DOWNGRADE A denial of service vulnerability was found in rsyslog in the imptcp module
- CVE-2017-12588 CRITICAL 9.8 UPGRADE The zmq3 input and output modules in rsyslog before 8.28.0 interpreted description fields as format strings, p