Skip to main content

rsyslog imhttp CVE-2026-55556

CRITICAL
2026-06-23
Share

Severity by source

vuln.today AI
8.2 HIGH

Network-reachable unauthenticated attack against HTTP endpoint; primary impact is heap corruption causing process crash (A:H) with minor heap integrity side-effect (I:L); no confidentiality impact confirmed.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE
8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Lifecycle Timeline

3
Patch released
Jun 24, 2026 - 04:00 NVD
Source Code Evidence Fetched
Jun 23, 2026 - 16:16 vuln.today
Analysis Generated
Jun 23, 2026 - 16:16 vuln.today

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

AnalysisAI

Heap overflow in rsyslog's contributed imhttp module allows remote unauthenticated clients to corrupt the rsyslog process heap by sending an oversized HTTP Basic Authentication header. The root cause is a one-character typo - calloc(0, len) instead of calloc(1, len) - which allocates zero or minimal bytes before the Base64 decoder writes up to len bytes into the buffer. The practical expected impact is denial of service (rsyslog process crash); remote code execution is theoretically possible but depends on heap allocator behavior, compiler hardening, and platform. No public exploit identified at time of analysis, and the vulnerability is not in CISA KEV.

Technical ContextAI

The vulnerability resides in the parse_auth_header() function in contrib/imhttp/imhttp.c. imhttp is a contributed, non-default rsyslog input module that exposes an HTTP/HTTPS endpoint for log ingestion. When decoding an oversized HTTP Basic Authentication header, the parser calls apr_base64_decode_len() to compute the required buffer size (len), then dynamically allocates a work buffer via calloc(0, len). Because the first argument to calloc() (element count) is 0 instead of 1, the C runtime either returns NULL or a minimally-sized implementation-defined allocation; the subsequent apr_base64_decode() then writes the full decoded payload into the undersized buffer, causing a heap-based buffer overflow. No formal CWE was assigned, but this maps to CWE-122 (Heap-based Buffer Overflow) and CWE-131 (Incorrect Calculation of Buffer Size). The upstream fix in commit acde2ba25ea33816694b787859f4a727a247b6d6 replaced the dynamic work buffer with a fixed-size stack buffer capped at BASIC_AUTH_MAX_DECODED (1536 bytes) and added a hard 2048-byte cap on incoming Base64 header size, eliminating the allocation path entirely.

Affected ProductsAI

rsyslog installations where the contributed imhttp plugin was compiled, installed, loaded via configuration, and had HTTP Basic Authentication explicitly enabled are affected. The vulnerable code was present in rsyslog versions prior to 8.2604.0. The upstream fix was introduced in commit acde2ba25ea33816694b787859f4a727a247b6d6 as part of a broader imhttp authentication refactor. No CPE strings were provided in the advisory. Downstream Linux distributions or organizations maintaining older rsyslog branches that have not taken the full auth refactor from 8.2604.0 may remain vulnerable even where the upstream release is available. Default rsyslog packages from major distributions (which do not include or load imhttp) are not affected.

RemediationAI

The primary remediation is upgrading to rsyslog 8.2604.0 or later, which removes the vulnerable Basic Authentication parser entirely via the auth refactor in commit acde2ba25ea33816694b787859f4a727a247b6d6 (https://github.com/rsyslog/rsyslog/commit/acde2ba25ea33816694b787859f4a727a247b6d6). For downstreams or organizations maintaining older branches that cannot take the full auth refactor, the reporter-provided minimal targeted fix is a one-line patch in contrib/imhttp/imhttp.c at the parse_auth_header() function: replace auth->pworkbuf = calloc(0, len) with auth->pworkbuf = calloc(1, len). As an immediate compensating control, disabling HTTP Basic Authentication on the imhttp endpoint (removing the basicauthfile parameter) eliminates the vulnerable code path entirely with no impact to log ingestion if an alternative auth method is used. Restricting network access to the imhttp listener port to trusted sources only via host-based or network firewall rules prevents remote exploitation without requiring a code change, though it does not address the underlying defect. The advisory is published at https://seclists.org/oss-sec/2026/q2/1004.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Not-Affected
SLES15-SP6-CHOST-BYOS Not-Affected
SLES15-SP6-CHOST-BYOS-Aliyun Not-Affected
SLES15-SP6-CHOST-BYOS-Azure Not-Affected
SLES15-SP6-CHOST-BYOS-EC2 Not-Affected

Share

CVE-2026-55556 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy