CVE-2026-44294
protobufjs: protobufjs: Denial of Service due to unescaped control characters in field names
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 13, 2026
Updated · October 27, 2026
Description
A flaw was found in protobufjs. This vulnerability occurs because protobufjs, which compiles protobuf definitions into JavaScript (JS) functions, does not properly escape certain control characters in field names when generating JavaScript property accessors. A remote attacker could provide a specially crafted schema or JSON descriptor, causing the generated encode, decode, verify, or conversion functions to fail during compilation. This could lead to a denial of service (DoS) condition for applications using the affected protobufjs library.
Statement
This is an Moderate denial of service flaw in protobufjs, which arises from improper escaping of control characters in field names during JavaScript property accessor generation. A remote attacker could exploit this by providing a specially crafted schema or JSON descriptor, leading to compilation failure and a denial of service condition in applications utilizing the library.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE-94 · Improper Control of Generation of Code ('Code Injection')