CVE-2026-78002
Rsyslog: rsyslog: denial of service via heap buffer overflow in rainerscript replace() function
What happened?
A flaw was found in rsyslog. An unauthenticated remote attacker can trigger a heap buffer overflow in the RainerScript `replace()` function by sending specially crafted syslog messages. This vulnerability arises from an incorrect buffer size calculation during string replacement, causing memory corruption. Successful exploitation can lead to a denial of service (DoS) for the affected system.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| rsyslogRed Hat | unaffected: 0:8.2510.0-5.el10_2.2 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2412.0-1.el10_0.2 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2102.0-15.el8_10.3 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.1911.0-7.el8_4.5 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.1911.0-7.el8_4.5 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2102.0-7.el8_6.2 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2102.0-7.el8_6.2 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2102.0-13.el8_8.1 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2102.0-13.el8_8.1 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2510.0-2.el9_8.2 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2102.0-113.el9_2.3 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2310.0-4.el9_4.2 to < * | See vendor advisory |
| rsyslogRed Hat | unaffected: 0:8.2412.0-1.el9_6.2 to < * | See vendor advisory |
| rhui5/haproxy-rhel9Red Hat | unaffected: 1790241900 to < * | See vendor advisory |
| rsyslogRed Hat | Default status: unaffected | See vendor advisory |
| rsyslog7Red Hat | Default status: unaffected | See vendor advisory |
| rsyslogRed Hat | Default status: affected | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-78002
- https://access.redhat.com/errata/RHSA-2026:69540
- https://access.redhat.com/errata/RHSA-2026:69541
- https://access.redhat.com/errata/RHSA-2026:71603
- https://access.redhat.com/errata/RHSA-2026:80817
- https://access.redhat.com/errata/RHSA-2026:81321
- https://access.redhat.com/errata/RHSA-2026:84576
- https://access.redhat.com/errata/RHSA-2026:86124
- https://access.redhat.com/errata/RHSA-2026:87408
- https://access.redhat.com/errata/RHSA-2026:90349
- https://access.redhat.com/errata/RHSA-2026:91582
- https://access.redhat.com/errata/RHSA-2026:95573
- https://access.redhat.com/security/cve/CVE-2026-78002
- https://bugzilla.redhat.com/show_bug.cgi?id=2521135
- https://github.com/rsyslog/rsyslog/security/advisories/GHSA-g72f-gc6v-f2w3
- http://www.openwall.com/lists/oss-security/2026/08/29/1