Vulnerability · Published Jun 8, 2023 · Assigned by Go

CVE-2023-24535Panic when parsing invalid messages in google.golang.org/protobuf

High 7.5

In plain English

A high-severity security flaw in google.golang.org/protobuf/encoding/prototext from google.golang.org/protobuf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.1%top 34.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogoogle.golang.org/protobuf1.29.1GHSA-hw7c-3rfg-p46j
Gogoogle.golang.org/protobuf1.29.1GO-2023-1631
Ubuntu:24.04:LTSgolang-github-golang-protobuf-1-3no fix listedUBUNTU-CVE-2023-24535
Ubuntu:25.10golang-github-golang-protobuf-1-3no fix listedUBUNTU-CVE-2023-24535
Ubuntu:24.04:LTSgolang-github-golang-protobuf-1-5no fix listedUBUNTU-CVE-2023-24535
Ubuntu:25.10golang-github-golang-protobuf-1-5no fix listedUBUNTU-CVE-2023-24535
Ubuntu:26.04:LTSgolang-github-golang-protobuf-1-5no fix listedUBUNTU-CVE-2023-24535
Ubuntu:26.10golang-github-golang-protobuf-1-5no fix listedUBUNTU-CVE-2023-24535
Ubuntu:22.04:LTSgolang-goprotobufno fix listedUBUNTU-CVE-2023-24535

Affected products (as reported)

References