GHSA-pff6-5vr4-hf2h
Summary The optional imjournal input uses sd_ journal_ set_ data_ threshold(maxMessageSize) when reading journal entries…
- Scores
- UnknownNo source reports a CVSS or EPSS score yet.
- Exploitation
- UnknownNo source reports exploitation yet.
- Listed fix
- None listedNo source lists a fixed version in its version data.Check the description and references.
Overview
Summary
The optional imjournal input uses sd_journal_set_data_threshold(maxMessageSize) when reading journal entries, but libsystemd documents that threshold as a hint and may return larger objects. imjournal does not apply its own per-field or per-entry limit after reading the data.
A local process permitted to write to journald can submit oversized SYSLOG_IDENTIFIER, SYSLOG_PID, MESSAGE, or other non-underscore fields. imjournal copies the complete identifier and PID into the syslog tag and copies every journal field into the message's $! JSON tree. Core raw-message truncation occurs only after imjournal has allocated and copied the complete MESSAGE, and it does not truncate the tag or JSON properties. The imjournal rate limiter counts messages and is invoked after these objects are built, so it does not bound bytes or peak allocation.
Affected deployments load imjournal. Memory pressure needs no particular output template. Disk growth additionally requires a template that writes the tag or structured fields; the default file format writes the tag. Forwarding templates may also transmit an oversized tag.
The attacker must already have local journal-write capability. Trusted _COMM and _PID fallback fields are not the oversized attacker-controlled path. Journald's version-dependent field, entry, transport, and storage limits still apply, but those limits are much larger than rsyslog's normal maxMessageSize, and journald storage quotas do not cap rsyslog's root-owned output files.
Reproduction and impact
On rsyslog main a6c1f4023df4f4e783158ea3837796dc0ef45e4e, a live unprivileged submission on systemd 255 containing a 1 MiB identifier, 64 KiB PID, and 1 MiB additional field was accepted. imjournal constructed a 1,114,115-byte tag while configured with maxMessageSize=8192; the structured field remained 1 MiB.
A production-like audit using five 40 MB identifiers produced a 200,000,205-byte default output file and 438 MB peak rsyslog RSS. A separate entry with a 60 MB MESSAGE and a 60 MB additional field retained both complete values in $! while $msg was limited to 8,096 bytes. No memory corruption was observed.
Repeated entries can fill an rsyslog output filesystem, exhaust rsyslog memory, or disrupt log collection. Large tag and JSON objects persist while queued and may accumulate behind slow or blocked actions; without queueing, much of the allocation is per-message and transient. The impact is availability only.
Affected configuration
- rsyslog loads
imjournaland reads a journal writable by the local attacker. - Disk impact requires an action/template that emits the tag or
$!fields; default file output emits the tag. - Memory pressure occurs during ingestion regardless of the selected output template.
The issue has existed since imjournal first shipped the affected tag and all-field JSON paths in rsyslog 7.3.11. Current main remained affected when tested. The absence of an upper bound in the affected-version field means no patched version has yet been identified; it does not claim that unsupported historical branches receive fixes.
Severity
Medium, CVSS 3.1 5.5: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
The local access prerequisite and optional imjournal deployment keep the issue below High severity. High availability impact reflects the demonstrated ability, under repetition or queueing, to exhaust the logging service's memory or output filesystem.
Weakness classification
Primary: CWE-770 (Allocation of Resources Without Limits or Throttling).
Secondary: CWE-400 (Uncontrolled Resource Consumption).
Remediation direction
Apply explicit limits at the libsystemd-to-rsyslog boundary: cap identifier and PID before tag construction, cap each copied structured value, and impose a total per-entry structured-data budget. Do not rely on the libsystemd threshold. Handle truncation deterministically and test oversized identifier, PID, MESSAGE, an arbitrary field, and many-field totals.
Tag-size remediation should be coordinated technically with the separate control-character issue in GHSA-3w8v-2pjp-5r8p, because the findings share a construction site. The findings, advisories, CVEs, credits, and notifications remain distinct.
Credit and AI assistance disclosure
Found and reported by Rainer Gerhards during an internal imjournal security audit.
AI assistance was used during source review, test-harness development, evidence synthesis, and advisory drafting. The source analysis, live unprivileged journald reproduction, affected-version history, severity decision, and final advisory were reviewed and approved by the maintainer. AI assistance is acknowledged textually; no GitHub identity is claimed for an AI system.
Affected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
ascender-25Docker Hardened Images:Debian:13 | 25.6.3-0 and later, plus listed versions 25.6.3-125.6.3-1025.6.3-1125.6.3-1225.6.3-2 Show 7 more versionsShow less25.6.3-325.6.3-425.6.3-525.6.3-625.6.3-725.6.3-825.6.3-9 | None listed |
Sources
OSVDHI-4dol-jknq-f6vq-sqarNo score
## Summary
Summary
The optional imjournal input uses sd_journal_set_data_threshold(maxMessageSize) when reading journal entries, but libsystemd documents that threshold as a hint and may return larger objects. imjournal does not apply its own per-field or per-entry limit after reading the data.
A local process permitted to write to journald can submit oversized SYSLOG_IDENTIFIER, SYSLOG_PID, MESSAGE, or other non-underscore fields. imjournal copies the complete identifier and PID into the syslog tag and copies every journal field into the message's $! JSON tree. Core raw-message truncation occurs only after imjournal has allocated and copied the complete MESSAGE, and it does not truncate the tag or JSON properties. The imjournal rate limiter counts messages and is invoked after these objects are built, so it does not bound bytes or peak allocation.
Affected deployments load imjournal. Memory pressure needs no particular output template. Disk growth additionally requires a template that writes the tag or structured fields; the default file format writes the tag. Forwarding templates may also transmit an oversized tag.
The attacker must already have local journal-write capability. Trusted _COMM and _PID fallback fields are not the oversized attacker-controlled path. Journald's version-dependent field, entry, transport, and storage limits still apply, but those limits are much larger than rsyslog's normal maxMessageSize, and journald storage quotas do not cap rsyslog's root-owned output files.
Reproduction and impact
On rsyslog main a6c1f4023df4f4e783158ea3837796dc0ef45e4e, a live unprivileged submission on systemd 255 containing a 1 MiB identifier, 64 KiB PID, and 1 MiB additional field was accepted. imjournal constructed a 1,114,115-byte tag while configured with maxMessageSize=8192; the structured field remained 1 MiB.
A production-like audit using five 40 MB identifiers produced a 200,000,205-byte default output file and 438 MB peak rsyslog RSS. A separate entry with a 60 MB MESSAGE and a 60 MB additional field retained both complete values in $! while $msg was limited to 8,096 bytes. No memory corruption was observed.
Repeated entries can fill an rsyslog output filesystem, exhaust rsyslog memory, or disrupt log collection. Large tag and JSON objects persist while queued and may accumulate behind slow or blocked actions; without queueing, much of the allocation is per-message and transient. The impact is availability only.
Affected configuration
- rsyslog loads
imjournaland reads a journal writable by the local attacker. - Disk impact requires an action/template that emits the tag or
$!fields; default file output emits the tag. - Memory pressure occurs during ingestion regardless of the selected output template.
The issue has existed since imjournal first shipped the affected tag and all-field JSON paths in rsyslog 7.3.11. Current main remained affected when tested. The absence of an upper bound in the affected-version field means no patched version has yet been identified; it does not claim that unsupported historical branches receive fixes.
Severity
Medium, CVSS 3.1 5.5: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
The local access prerequisite and optional imjournal deployment keep the issue below High severity. High availability impact reflects the demonstrated ability, under repetition or queueing, to exhaust the logging service's memory or output filesystem.
Weakness classification
Primary: CWE-770 (Allocation of Resources Without Limits or Throttling).
Secondary: CWE-400 (Uncontrolled Resource Consumption).
Remediation direction
Apply explicit limits at the libsystemd-to-rsyslog boundary: cap identifier and PID before tag construction, cap each copied structured value, and impose a total per-entry structured-data budget. Do not rely on the libsystemd threshold. Handle truncation deterministically and test oversized identifier, PID, MESSAGE, an…
- Record
DHI-4dol-jknq-f6vq-sqar- Updated
- 2026-12-04
The JSON record also has the rest of 1 source description.
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages | OSV | |
| First indexed | OSV |
Upstream dates may differ.