CVE-2024-24786
Infinite loop in JSON unmarshaling in google.golang.org/protobuf
The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.262% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:38.218Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:38.137Z | OSV |
| affected | verified | 2026-11-19T12:57:07.281Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:07.281Z | CVE Program |
Affected versions and configuration
google.golang.org/protobuf google.golang.org/protobuf/encoding/protojson; default status: unaffected: 0 to < 1.33.0 [affected; scheme: semver] google.golang.org/protobuf google.golang.org/protobuf/internal/encoding/json; default status: unaffected: 0 to < 1.33.0 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "google.golang.org/protobuf",
"product": "google.golang.org/protobuf/encoding/protojson",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.33.0",
"versionType": "semver"
}
],
"packageName": "google.golang.org/protobuf/encoding/protojson",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "UnmarshalOptions.unmarshal"
},
{
"name": "Unmarshal"
},
{
"name": "UnmarshalOptions.Unmarshal"
}
]
},
{
"vendor": "google.golang.org/protobuf",
"product": "google.golang.org/protobuf/internal/encoding/json",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.33.0",
"versionType": "semver"
}
],
"packageName": "google.golang.org/protobuf/internal/encoding/json",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "Decoder.Read"
},
{
"name": "Decoder.Peek"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-24786",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-11-07T16:22:27.828054Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-23T13:51:15.891Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://go.dev/cl/569356",
"tags": [
"x_transferred"
]
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-2611",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/",
"tags": [
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2024/03/08/4",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20240517-0002/",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-01T23:28:12.790Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-8r3f-844c-mc37",
"aliases": [
"CVE-2024-24786",
"GO-2024-2611"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.33.0"
}
]
}
],
"package": {
"name": "google.golang.org/protobuf",
"purl": "pkg:golang/google.golang.org/protobuf",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-8r3f-844c-mc37/GHSA-8r3f-844c-mc37.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-24786",
"type": "ADVISORY"
},
{
"url": "https://github.com/protocolbuffers/protobuf-go/commit/f01a588e5810b90996452eec4a28f22a0afae023",
"type": "WEB"
},
{
"url": "https://github.com/protocolbuffers/protobuf-go",
"type": "PACKAGE"
},
{
"url": "https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.33.0",
"type": "WEB"
},
{
"url": "https://go.dev/cl/569356",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU",
"type": "WEB"
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-2611",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20240517-0002",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2024/03/08/4",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-835"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2024-03-05T23:15:07Z",
"github_reviewed_at": "2024-03-13T21:01:28Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2024-2611",
"aliases": [
"CVE-2024-24786",
"GHSA-8r3f-844c-mc37"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.33.0"
}
]
}
],
"package": {
"name": "google.golang.org/protobuf",
"purl": "pkg:golang/google.golang.org/protobuf",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2024-2611.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "google.golang.org/protobuf/encoding/protojson",
"symbols": [
"Unmarshal",
"UnmarshalOptions.Unmarshal",
"UnmarshalOptions.unmarshal"
]
},
{
"path": "google.golang.org/protobuf/internal/encoding/json",
"symbols": [
"Decoder.Peek",
"Decoder.Read"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/569356",
"type": "FIX"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-2611",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | google.golang.org/protobuf | Not a distribution channel | 1.33.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:38.137ZArchived source JSON
Source publication: 2024-03-06T00:31:27.000Z
Source modification: 2026-09-10T03:50:00.243ZDocument fingerprint
7cff2c8a4b2108dcf92af0a76d1d433a6899592b084705e3ecc5663d36c1f941 - OSVConsulted: 2026-11-19T12:52:38.137ZArchived source JSON
Source publication: 2024-03-05T20:24:05.000Z
Source modification: 2026-11-14T13:12:14.335ZDocument fingerprint
7cff2c8a4b2108dcf92af0a76d1d433a6899592b084705e3ecc5663d36c1f941 - CVE ProgramConsulted: 2026-11-19T12:57:07.281ZArchived source JSON
Source publication: 2024-03-05T22:22:35.299Z
Source modification: 2026-09-23T13:51:15.891ZDocument fingerprint
4232767e5a0fed8b722c0f195d72704d757511281af3deb010f9a560057f2957 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:38.218ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
55a64ee9ca0f1d908a48c56be557bd1ef72d684d2b38b659335bfacedc0274cc
Official status history
- UNKNOWN → PUBLISHED · · evidence