CVEfocus › CVE database › CVE-2026-78002

CVE-2026-78002Rsyslog: rsyslog: denial of service via heap buffer overflow in rainerscript replace()…

CVSS 7.5 HighEPSS 1.1% (higher than 64% of CVEs)Published 2026-08-27Updated 2026-11-11Assigner: redhat

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.

CWE-131

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

152Fixed
21Fix pending
15Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04rsyslogFixed8.2512.0-1ubuntu4.2UBUNTU-CVE-2026-78002
Ubuntu 24.04rsyslogFixed8.2312.0-3ubuntu9.4UBUNTU-CVE-2026-78002
Ubuntu 22.04rsyslogFixed8.2112.0-2ubuntu2.5UBUNTU-CVE-2026-78002
Ubuntu 20.04rsyslogFix pending8.2001.0-1ubuntu1.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-78002
Ubuntu 18.04rsyslogFix pending8.32.0-1ubuntu4.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-78002
Ubuntu 16.04rsyslogFix pending8.16.0-1ubuntu3.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-78002
Debian 14rsyslogFixed8.2608.0-4DEBIAN-CVE-2026-78002
Debian 13rsyslogFixed8.2504.0-1+deb13u2DEBIAN-CVE-2026-78002
Debian 12rsyslogFixed8.2302.0-1+deb12u2DEBIAN-CVE-2026-78002
Red Hat Enterprise Linux 10rsyslogFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-cryptoFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-docFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-elasticsearchFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-gnutlsFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-gssapiFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-kafkaFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-mmauditFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-mmfieldsFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-mmjsonparseFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-mmkubernetesFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-mmnormalizeFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-mmsnmptrapdFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-mysqlFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-omamqp1Fixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-opensslFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-pgsqlFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-relpFixed0:8.2604.0-5.el10_3.1RHSA-2026:69541
Red Hat Enterprise Linux 10rsyslog-snmpFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 10rsyslog-udpspoofFixed0:8.2510.0-5.el10_2.2RHSA-2026:98558
Red Hat Enterprise Linux 9rsyslogFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-cryptoFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-docFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-elasticsearchFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-gnutlsFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-gssapiFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-kafkaFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-logrotateFixed0:8.2510.0-2.el9_8.2RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-mmauditFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-mmfieldsFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-mmjsonparseFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-mmkubernetesFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-mmnormalizeFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-mmsnmptrapdFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-mysqlFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-omamqp1Fixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-opensslFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-pgsqlFixed0:8.2604.0-4.el9_9.1RHSA-2026:69540
Red Hat Enterprise Linux 9rsyslog-relpFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-snmpFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 9rsyslog-udpspoofFixed0:8.2510.0-2.el9_8.2RHSA-2026:98456
Red Hat Enterprise Linux 8rsyslogFixed0:8.2102.0-15.el8_10.3RHSA-2026:80817
Red Hat Enterprise Linux 8rsyslog-docFixed0:8.2102.0-15.el8_10.3RHSA-2026:80817
Red Hat Enterprise Linux 7rsyslogFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-cryptoFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-docFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-elasticsearchFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-gnutlsFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-gssapiFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-kafkaFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-libdbiFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-mmauditFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-mmjsonparseFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-mmkubernetesFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-mmnormalizeFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-mmsnmptrapdFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-mysqlFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-pgsqlFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-relpFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-snmpFix pending
Affected
Red Hat Enterprise Linux 7rsyslog-udpspoofFix pending
Affected
Red Hat Enterprise Linux 6rsyslogNot affected
Red Hat Enterprise Linux 6rsyslog-gnutlsNot affected
Red Hat Enterprise Linux 6rsyslog-gssapiNot affected
Red Hat Enterprise Linux 6rsyslog-mysqlNot affected
Red Hat Enterprise Linux 6rsyslog-pgsqlNot affected
Red Hat Enterprise Linux 6rsyslog-relpNot affected
Red Hat Enterprise Linux 6rsyslog-snmpNot affected
Red Hat Enterprise Linux 6rsyslog7Not affected
Red Hat Enterprise Linux 6rsyslog7-elasticsearchNot affected
Red Hat Enterprise Linux 6rsyslog7-gnutlsNot affected
Red Hat Enterprise Linux 6rsyslog7-gssapiNot affected
Red Hat Enterprise Linux 6rsyslog7-mysqlNot affected
Red Hat Enterprise Linux 6rsyslog7-pgsqlNot affected
Red Hat Enterprise Linux 6rsyslog7-relpNot affected
Red Hat Enterprise Linux 6rsyslog7-snmpNot affected
AlmaLinux 10rsyslogFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-cryptoFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-docFixed8.2510.0-5.el10_2.2ALSA-2026:98558
AlmaLinux 10rsyslog-elasticsearchFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-gnutlsFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-gssapiFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-kafkaFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-mmauditFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-mmfieldsFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-mmjsonparseFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-mmkubernetesFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-mmnormalizeFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-mmsnmptrapdFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-mysqlFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-omamqp1Fixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-opensslFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-pgsqlFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-relpFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-snmpFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 10rsyslog-udpspoofFixed8.2604.0-5.el10_3.1ALSA-2026:98558
AlmaLinux 9rsyslogFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-cryptoFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-docFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-elasticsearchFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-gnutlsFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-gssapiFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-kafkaFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-logrotateFixed8.2510.0-2.el9_8.2ALSA-2026:69540
AlmaLinux 9rsyslog-mmauditFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-mmfieldsFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-mmjsonparseFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-mmkubernetesFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-mmnormalizeFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-mmsnmptrapdFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-mysqlFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-omamqp1Fixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-opensslFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-pgsqlFixed8.2604.0-4.el9_9.1ALSA-2026:69540
AlmaLinux 9rsyslog-relpFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-snmpFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 9rsyslog-udpspoofFixed8.2510.0-2.el9_8.2ALSA-2026:98456
AlmaLinux 8rsyslogFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-cryptoFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-docFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-elasticsearchFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-gnutlsFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-gssapiFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-kafkaFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-mmauditFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-mmfieldsFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-mmjsonparseFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-mmkubernetesFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-mmnormalizeFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-mmsnmptrapdFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-mysqlFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-omamqp1Fixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-opensslFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-pgsqlFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-relpFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-snmpFixed8.2102.0-15.el8_10.3ALSA-2026:80817
AlmaLinux 8rsyslog-udpspoofFixed8.2102.0-15.el8_10.3ALSA-2026:80817
Rocky Linux 10rsyslogFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-cryptoFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-docFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-elasticsearchFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-gnutlsFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-gssapiFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-kafkaFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-mmauditFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-mmfieldsFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-mmjsonparseFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-mmkubernetesFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-mmnormalizeFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-mmsnmptrapdFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-mysqlFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-omamqp1Fixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-opensslFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-pgsqlFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-relpFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-snmpFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 10rsyslog-udpspoofFixed0:8.2604.0-5.el10_3.1RLSA-2026:98558
Rocky Linux 9rsyslogFixed0:8.2510.0-2.el9_8.2RLSA-2026:98456
Rocky Linux 9rsyslog-cryptoFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-docFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-elasticsearchFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-gnutlsFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-gssapiFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-kafkaFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-mmauditFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-mmfieldsFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-mmjsonparseFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-mmkubernetesFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-mmnormalizeFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-mmsnmptrapdFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-mysqlFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-omamqp1Fixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-opensslFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-pgsqlFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-relpFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-snmpFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 9rsyslog-udpspoofFixed0:8.2604.0-4.el9_9.1RLSA-2026:98456
Rocky Linux 8rsyslogFixed0:8.2102.0-15.el8_10.3RLSA-2026:80817
Alpine Linux 3.24rsyslogFixed8.2608.0-r0ALPINE-CVE-2026-78002

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To mitigate this vulnerability, restrict network access to the rsyslog service to only trusted hosts. This can be achieved by configuring firewall rules to limit incoming connections to UDP and TCP port 514. Alternatively, if remote syslog reception is not required, disable the `imudp` and `imtcp` modules in the `/etc/rsyslog.conf` configuration file. After modifying the rsyslog configuration or firewall rules, the rsyslog service or firewall service must be restarted for the changes to take effect.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.