CVE-2026-61548
Public on 2026-07-24
Modified on 2026-07-24
Description
rsyslog mmpstrucdata stack overflow
The issue occurs while mmpstrucdata parses RFC 5424
structured-data parameter values.
In affected versions, parseSD_PARAM() allocates a fixed
32,768-byte stack buffer:
uchar pVal[32 * 1024];
It then passes this buffer to parsePARAM_VALUE() without
providing its size.
parsePARAM_VALUE() writes the parameter value into the
buffer without checking the destination size. Its loop is
bounded only by the length of the structured-data input.
If rsyslog accepts a structured-data parameter value larger
than the fixed buffer, attacker-controlled data can overwrite
the stack.
The issue occurs while mmpstrucdata parses RFC 5424
structured-data parameter values.
In affected versions, parseSD_PARAM() allocates a fixed
32,768-byte stack buffer:
uchar pVal[32 * 1024];
It then passes this buffer to parsePARAM_VALUE() without
providing its size.
parsePARAM_VALUE() writes the parameter value into the
buffer without checking the destination size. Its loop is
bounded only by the length of the structured-data input.
If rsyslog accepts a structured-data parameter value larger
than the fixed buffer, attacker-controlled data can overwrite
the stack.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Core | rsyslog | Not Affected | ||
| Amazon Linux 2023 | rsyslog | Not Affected |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |