CVE-2026-129839

Rsyslog: rsyslog: improper json escaping in option.json="on" template path for quote-only and backslash-only values

Published Nov 25, 2026 CVSS 3.1 · 5.3 Medium EPSS n/a KEV · Not listed
Description
A flaw was found in rsyslog. When processing log entries using certain JSON (JavaScript Object Notation) formatting templates, the service fails to properly escape input composed entirely of quotation marks or backslashes. An attacker who can supply logged input can exploit this issue to generate malformed JSON output, which may cause downstream log ingestion systems and parsers to reject log records.

Analysis

AI-generated

Technical impact

A flaw in rsyslog causes improper escaping of JSON when templates are configured with option.json="on" and the logged input consists solely of quotation marks or backslashes. The server then outputs malformed JSON that can be rejected by downstream log ingesters and parsers, effectively corrupting log data. Because the attacker must supply logged input, this weakness can lead to loss of audit evidence or denial of log availability, a concern for environments that rely on accurate logging.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux releases 6, 7, 8, 9, and 10—including extended lifecycle (EL) versions. All these distributions ship rsyslog versions that contain the unchecked JSON escaping bug, so any host running those OS releases could be impacted if it uses templates with JSON output.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, and no EPSS score is currently available. The vulnerability is not listed in the CISA KEV catalog, suggesting it has not yet been widely exploited. Exploitation requires an attacker to inject crafted log entries containing only quotes or backslashes into rsyslog. Such input can be generated by an application that accepts user-supplied data and logs it, or by a network-connected syslog client. The resulting malformed JSON can trigger a denial of service in downstream systems that process the logs, potentially disrupting monitoring and alerting responsibilities.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update rsyslog to the latest patched version available from Red Hat.
  • If an update cannot be applied immediately, disable JSON output in affected templates by setting option.json="off" to avoid malformed output.
  • As a temporary measure, sanitize or filter log input to ensure it does not consist solely of quotation marks or backslashes before it reaches rsyslog.

Generated by OpenCVE AI on November 25, 2026 at 03:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A flaw was found in rsyslog. When processing log entries using certain JSON (JavaScript Object Notation) formatting templates, the service fails to properly escape input composed entirely of quotation marks or backslashes. An attacker who can supply logged input can exploit this issue to generate malformed JSON output, which may cause downstream log ingestion systems and parsers to reject log records.
Title Rsyslog: rsyslog: improper json escaping in option.json="on" template path for quote-only and backslash-only values
First Time appeared Redhat
Redhat enterprise Linux
Redhat rhel Els
Weaknesses CWE-116
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 3:09 AM
Reserved
Nov 16, 2026, 11:47 AM
Status
Awaiting Analysis
Published
Nov 25, 2026, 3:17 AM
Modified
Nov 25, 2026, 3:17 AM