protobufjs: Denial of service from crafted field names in generated code
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript property accessors from schema-controlled field and oneof names. Certain control characters in field names were not escaped before being embedded into generated function bodies. A crafted schema or JSON descriptor could therefore cause generated encode, decode, verify, or conversion functions to fail during compilation. This vulnerability is fixed in 7.5.6 and 8.0.2.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-44294
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 08:56 UTC · Revision 1
Source evidence
protobufjs: Denial of service from crafted field names in generated code
core-osv · Original sourcePublished 13 May 2026, 14:44 UTC
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript property accessors from schema-controlled field and oneof names. Certain control characters in field names were not escaped before being embedded into generated function bodies. A crafted schema or JSON descriptor could therefore cause generated encode, decode, verify, or conversion functions to fail during compilation. This vulnerability is fixed in 7.5.6 and 8.0.2.
osv:CVE-2026-44294
Complete source record
{
"id": "adea80b957871411f4c804c74f74048517d593b78dcd0f41c1b14fc707369157",
"url": "https://osv.dev/vulnerability/CVE-2026-44294",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "protobufjs: Denial of service from crafted field names in generated code",
"summary": "protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript property accessors from schema-controlled field and oneof names. Certain control characters in field names were not escaped before being embedded into generated function bodies. A crafted schema or JSON descriptor could therefore cause generated encode, decode, verify, or conversion functions to fail during compilation. This vulnerability is fixed in 7.5.6 and 8.0.2.",
"evidence": "osv:CVE-2026-44294",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-44294",
"aliases": [
"CVE-2026-44294",
"GHSA-2pr8-phx7-x9h3"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/protobufjs/protobuf.js",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2189e5beeca6a70e4c104dfdb9fb8200bc5f81fe"
},
{
"introduced": "933e8750dcd000c16a621a7344a4beaa034c4019"
},
{
"fixed": "658b93e163d9aff8c31236c168657bab5e2d9bbc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "7.5.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"protobufjs-v7.5.5",
"protobufjs-v8.0.1",
"protobufjs-cli-v2.0.1",
"protobufjs-v7.5.4",
"protobufjs-v8.0.0",
"protobufjs-cli-v2.0.0",
"protobufjs-v7.5.3",
"protobufjs-v7.5.2",
"protobufjs-v7.5.1",
"protobufjs-v7.5.0",
"protobufjs-cli-v1.2.0",
"protobufjs-v7.4.0",
"protobufjs-cli-v1.1.4",
"protobufjs-v7.3.3",
"protobufjs-cli-v1.1.3",
"protobufjs-v7.3.2",
"protobufjs-v7.3.1",
"protobufjs-v7.3.0",
"protobufjs-v7.2.6",
"protobufjs-v7.2.5",
"protobufjs-cli-v1.1.2",
"protobufjs-v7.2.4",
"protobufjs-v7.2.3",
"protobufjs-v7.2.2",
"protobufjs-v7.2.1",
"protobufjs-cli-v1.1.1",
"protobufjs-v7.2.0",
"protobufjs-cli-v1.1.0",
"protobufjs-v7.1.2",
"protobufjs-v7.1.1",
"protobufjs-cli-v1.0.2",
"protobufjs-v7.1.0",
"protobufjs-cli-v1.0.1",
"protobufjs-v7.0.0",
"protobufjs-cli-v1.0.0",
"v6.10.2",
"v6.10.1",
"v6.10.1-beta.0",
"v6.10.0",
"v6.10.0-beta.2",
"v6.10.0-beta.1",
"v6.10.0-beta.0",
"v6.9.0",
"v6.9.0-beta.0",
"6.8.8",
"6.8.7",
"6.8.6",
"6.8.5",
"6.8.4",
"6.8.3",
"6.8.2",
"6.8.1",
"6.8.0",
"6.7.3",
"6.7.2",
"6.7.1",
"6.7.0",
"6.6.5",
"6.6.4",
"6.6.3",
"6.6.2",
"6.6.1",
"6.6.0",
"6.5.3",
"6.5.2",
"6.5.1",
"6.5.0",
"6.4.6",
"6.4.5",
"6.4.4",
"6.4.3",
"6.4.2",
"6.4.1",
"6.4.0",
"6.3.1",
"6.3.0",
"6.2.1",
"6.2.0",
"6.1.1",
"6.1.0",
"6.0.2",
"6.0.1",
"6.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44294.json"
}
}
],
"modified": "2026-10-28T02:30:47.252880392Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44294.json",
"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-2pr8-phx7-x9h3",
"https://nvd.nist.gov/vuln/detail/CVE-2026-44294"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44294.json"
}
},
"related_cves": [
{
"value": "CVE-2026-44294",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 515022,
"published_at": "2026-05-13T14:44:30.474+00:00"
}