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

State
Published
Severity
5.3 Medium
Published
Nov 25, 2026
Updated
Nov 30, 2026
Reserved
Nov 16, 2026

Read the record on cve.org

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.

ProductVersions
Red Hat Enterprise Linux 10 Red Hat
Red Hat Enterprise Linux 6 Red Hat
Red Hat Enterprise Linux 6 Red Hat
Red Hat Enterprise Linux 7 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 9 Red Hat

Weaknesses

  • CWE-116 Improper Encoding or Escaping of Output

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.