Description
Integer overflow in the rsCStrExtendBuf function in runtime/stringbuf.c in the imfile module in rsyslog 4.x before 4.6.6, 5.x before 5.7.4, and 6.x before 6.1.4 allows local users to cause a denial of service (daemon hang) via a large file, which triggers a heap-based buffer overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rsyslog | 5.7.4-1 | — |
| Debian 13 | rsyslog | 5.7.4-1 | — |
| Debian 12 | rsyslog | 5.7.4-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | rsyslog +6 | 5.8.10-2.el6 | RHSA-2012:0796 |
Advisories 1
- RHSA-2012:0796 Red Hat Security Advisory: rsyslog security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- http://bugzilla.adiscon.com/show_bug.cgi?id=221
- USN-1338-1 vendor-advisory
- http://rsyslog.com/changelog-for-6-1-4-devel/
- https://bugzilla.redhat.com/show_bug.cgi?id=769822
- http://git.adiscon.com/?p=rsyslog.git%3Ba=commit%3Bh=6bad782f154b7f838c7371bf99c13f6dc4ec4101
- 1026556 vdb-entry
- http://rsyslog.com/changelog-for-5-7-4-v5-beta/
- 45848 third-party-advisory
- 51171 vdb-entry
- 47698 third-party-advisory
- http://rsyslog.com/changelog-for-4-6-6-v4-stable/
- [oss-security] 20111222 Re: CVE Request -- rsyslog -- DoS due integer signedness error while extending rsyslog counted string buffer mailing-list