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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | google.golang.org/protobuf | 1.29.1 | GHSA-hw7c-3rfg-p46j |
| Go | google.golang.org/protobuf | 1.29.1 | GO-2023-1631 |
| Ubuntu:24.04:LTS | golang-github-golang-protobuf-1-3 | no fix listed | UBUNTU-CVE-2023-24535 |
| Ubuntu:25.10 | golang-github-golang-protobuf-1-3 | no fix listed | UBUNTU-CVE-2023-24535 |
| Ubuntu:24.04:LTS | golang-github-golang-protobuf-1-5 | no fix listed | UBUNTU-CVE-2023-24535 |
| Ubuntu:25.10 | golang-github-golang-protobuf-1-5 | no fix listed | UBUNTU-CVE-2023-24535 |
| Ubuntu:26.04:LTS | golang-github-golang-protobuf-1-5 | no fix listed | UBUNTU-CVE-2023-24535 |
| Ubuntu:26.10 | golang-github-golang-protobuf-1-5 | no fix listed | UBUNTU-CVE-2023-24535 |
| Ubuntu:22.04:LTS | golang-goprotobuf | no fix listed | UBUNTU-CVE-2023-24535 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| google.golang.org/protobuf | google.golang.org/protobuf/encoding/prototext | 1.29.0 – before 1.29.1 |
| google.golang.org/protobuf | google.golang.org/protobuf/internal/encoding/text | 1.29.0 – before 1.29.1 |