Red Hat Enterprise Linux 10
Rsyslog: rsyslog: denial of service via heap buffer overflow in rainerscript replace() function
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 versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:8.2510.0-5.el10_2.2
Fixed in 0:8.2604.0-5.el10_3.1
Fixed in 0:8.2412.0-1.el10_0.2
Fixed in 0:8.24.0-57.el7_9.4
Fixed in 0:8.2102.0-15.el8_10.3
Fixed in 0:8.1911.0-7.el8_4.5
Fixed in 0:8.1911.0-7.el8_4.5
Fixed in 0:8.2102.0-7.el8_6.2
Fixed in 0:8.2102.0-7.el8_6.2
Fixed in 0:8.2102.0-13.el8_8.1
Fixed in 0:8.2102.0-13.el8_8.1
Fixed in 0:8.2510.0-2.el9_8.2
Fixed in 0:8.2604.0-4.el9_9.1
Fixed in 0:8.2102.0-113.el9_2.3
Fixed in 0:8.2310.0-4.el9_4.2
Fixed in 0:8.2412.0-1.el9_6.2
Fixed in 1790241900
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:8.2510.0-5.el10_2.2 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:8.2604.0-5.el10_3.1 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:8.2412.0-1.el10_0.2 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:8.24.0-57.el7_9.4 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:8.2102.0-15.el8_10.3 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:8.1911.0-7.el8_4.5 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:8.1911.0-7.el8_4.5 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:8.2102.0-7.el8_6.2 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:8.2102.0-7.el8_6.2 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:8.2102.0-13.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:8.2102.0-13.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:8.2510.0-2.el9_8.2 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:8.2604.0-4.el9_9.1 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:8.2102.0-113.el9_2.3 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:8.2310.0-4.el9_4.2 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:8.2412.0-1.el9_6.2 or later.
Upgrade Red Hat Update Infrastructure 5 to 1790241900 or later.
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.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:69540
- Vendor advisory access.redhat.com/errata/RHSA-2026:69541
- Vendor advisory access.redhat.com/errata/RHSA-2026:71603
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:80817
- Vendor advisory access.redhat.com/errata/RHSA-2026:81321
- Vendor advisory access.redhat.com/errata/RHSA-2026:84576
- Vendor advisory access.redhat.com/errata/RHSA-2026:86124
- Vendor advisory access.redhat.com/errata/RHSA-2026:87408
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.