# CVE-2022-24903: Buffer overflow in TCP syslog server (receiver) components in rsyslog

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-05-05 · Modified: 2025-04-23
- Aliases: ALPINE-CVE-2022-24903, MGASA-2022-0165, SUSE-SU-2022:1583-1, SUSE-SU-2022:1817-1, SUSE-SU-2022:2314-1, SUSE-SU-2022:2331-1, SUSE-SU-2022:2333-1, RHSA-2022:4795, RHSA-2022:4799, RHSA-2022:4800, RHSA-2022:4801, RHSA-2022:4802, RHSA-2022:4803, RHSA-2022:4808, UBUNTU-CVE-2022-24903, USN-5404-1, USN-5404-2, DEBIAN-CVE-2022-24903, DSA-5150-1, openSUSE-SU-2024:12059-1
- Record: https://cvemate.com/vulnerability/CVE-2022-24903 · JSON: https://cvemate.com/vulnerability/CVE-2022-24903/json

## Description

```text
Rsyslog is a rocket-fast system for log processing. Modules for TCP syslog reception have a potential heap buffer overflow when octet-counted framing is used. This can result in a segfault or some other malfunction. As of our understanding, this vulnerability can not be used for remote code execution. But there may still be a slight chance for experts to do that. The bug occurs when the octet count is read. While there is a check for the maximum number of octets, digits are written to a heap buffer even when the octet count is over the maximum, This can be used to overrun the memory buffer. However, once the sequence of digits stop, no additional characters can be added to the buffer. In our opinion, this makes remote exploits impossible or at least highly complex. Octet-counted framing is one of two potential framing modes. It is relatively uncommon, but enabled by default on receivers. Modules `imtcp`, `imptcp`, `imgssapi`, and `imhttp` are used for regular syslog message reception. It is best practice not to directly expose them to the public. When this practice is followed, the risk is considerably lower. Module `imdiag` is a diagnostics module primarily intended for testbench runs. We do not expect it to be present on any production installation. Octet-counted framing is not very common. Usually, it needs to be specifically enabled at senders. If users do not need it, they can turn it off for the most important modules. This will mitigate the vulnerability.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.949%, percentile 90.726%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 96)

- alpine rsyslog (Alpine Linux): \< 8.2004.0-r2 \| \< 8.2012.0-r3 \| \< 8.2108.0-r2 \| \< 8.2204.1-r0
- debian rsyslog (Debian): \< 8.1901.0-1+deb10u2 \| \< 8.2102.0-2+deb11u1 \| \< 8.2204.1-1
- ubuntu rsyslog (Ubuntu): All versions (No fix recorded) \| \< 8.16.0-1ubuntu3.1+esm2 \| \< 8.32.0-1ubuntu4.2 \| \< 8.2001.0-1ubuntu1.3 \| \< 8.2112.0-2ubuntu2.2
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 35
- mageia rsyslog (Mageia): \< 8.2204.1-1.mga8
- netapp active\_iq\_unified\_manager: na
- opensuse rsyslog&distro=openSUSE Leap 15.3 (openSUSE): \< 8.2106.0-150200.4.26.1
- opensuse rsyslog&distro=openSUSE Tumbleweed (openSUSE): \< 8.2204.1-1.1
- redhat rsyslog (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3 \| \< 0:8.24.0-57.el7\_9.3 \| \< 0:5.8.10-12.el6\_10.1
- redhat rsyslog-crypto (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3 \| \< 0:8.24.0-57.el7\_9.3
- redhat rsyslog-crypto-debuginfo (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3
- redhat rsyslog-debuginfo (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3 \| \< 0:8.24.0-57.el7\_9.3 \| \< 0:5.8.10-12.el6\_10.1
- redhat rsyslog-debugsource (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3
- redhat rsyslog-doc (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3 \| \< 0:8.24.0-57.el7\_9.3
- redhat rsyslog-elasticsearch (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3 \| \< 0:8.24.0-57.el7\_9.3
- redhat rsyslog-elasticsearch-debuginfo (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3
- redhat rsyslog-gnutls (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3 \| \< 0:8.24.0-57.el7\_9.3 \| \< 0:5.8.10-12.el6\_10.1
- redhat rsyslog-gnutls-debuginfo (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3
- redhat rsyslog-gssapi (Red Hat): \< 0:8.2102.0-101.el9\_0.1 \| \< 0:8.2102.0-7.el8\_6.1 \| \< 0:8.1911.0-3.el8\_2.1 \| \< 0:8.37.0-13.el8\_1.1 \| \< 0:8.1911.0-7.el8\_4.3 \| \< 0:8.24.0-57.el7\_9.3 \| \< 0:5.8.10-12.el6\_10.1

## References (first 20 of 50)

- <https://github.com/rsyslog/rsyslog/security/advisories/GHSA-ggw7-xr6h-mmr8>
- <https://github.com/rsyslog/rsyslog/commit/f211042ecbb472f9d8beb4678a65d272b6f07705>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMNNXLCU2UORRVSZO24HL4KMVPK5PHVW/>
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00028.html>
- <https://www.debian.org/security/2022/dsa-5150>
- <https://security.netapp.com/advisory/ntap-20221111-0002/>
- <https://security.alpinelinux.org/vuln/CVE-2022-24903>
- <https://advisories.mageia.org/MGASA-2022-0165.html>
- <https://bugs.mageia.org/show_bug.cgi?id=30383>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221583-1/>
- <https://bugzilla.suse.com/1199061>
- <https://www.suse.com/security/cve/CVE-2022-24903>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221817-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222314-1/>
- <https://bugzilla.suse.com/1051798>
- <https://bugzilla.suse.com/1068678>
- <https://bugzilla.suse.com/1080238>
- <https://bugzilla.suse.com/1082318>
- <https://bugzilla.suse.com/1101642>
- <https://bugzilla.suse.com/1110456>

---

Data as of 2026-12-05T09:58:23.899Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
