Every CVE Search/ Get API key

CVE-2023-24535

Panic when parsing invalid messages in google.golang.org/protobuf

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.09%Up 1.0 points since Jun 9, 2023
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2023-24535
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
CVE List 7.5

Panic when parsing invalid messages in google.golang.org/protobuf

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.

Record
CVE-2023-24535
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
EUVDEUVD-2023-1039 7.5

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.

Record
EUVD-2023-1039
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-hw7c-3rfg-p46j 7.5

google.golang.org/protobuf vulnerable to panic leading to denial of service

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.

Record
GHSA-hw7c-3rfg-p46j
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 7.5

Panic when parsing invalid messages in google.golang.org/protobuf

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.

Record
CVE-2023-24535
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-hw7c-3rfg-p46j 7.5

google.golang.org/protobuf vulnerable to panic leading to denial of service

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.

Record
GHSA-hw7c-3rfg-p46j
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSVUBUNTU-CVE-2023-24535 7.5

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.

Record
UBUNTU-CVE-2023-24535
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGO-2023-1631 No score

Panic when parsing invalid messages in google.golang.org/protobuf

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.

Record
GO-2023-1631
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
google.golang.org/protobuf
Go
1.29.0 up to 1.29.1
1.29.1
golang-goprotobuf
Ubuntu:16.04:LTS
All versions, plus listed versions
0.0~git20150526-2
None known
golang-goprotobuf
Ubuntu:18.04:LTS
All versions, plus listed versions
0.0~git20170808.0.1909bc2-1ubuntu10.0~git20170808.0.1909bc2-1ubuntu20.0~git20170808.0.1909bc2-2
None known
golang-goprotobuf
Ubuntu:20.04:LTS
All versions, plus listed versions
1.3.2-2
None known
golang-goprotobuf
Ubuntu:22.04:LTS
All versions, plus listed versions
1.3.4-2
None known
golang-github-golang-protobuf-1-3
Ubuntu:24.04:LTS
All versions, plus listed versions
1.3.5-4build11.3.5-4ubuntu0.24.04.11.3.5-4ubuntu0.24.04.21.3.5-4ubuntu0.24.04.3
None known
golang-github-golang-protobuf-1-5
Ubuntu:24.04:LTS
All versions, plus listed versions
1.5.2-3build11.5.3-11.5.3-1ubuntu0.11.5.3-1ubuntu0.21.5.3-1ubuntu0.3
None known
golang-github-golang-protobuf-1-3
Ubuntu:25.10
All versions, plus listed versions
1.3.5-4build1
None known
golang-github-golang-protobuf-1-5
Ubuntu:25.10
All versions, plus listed versions
1.5.4-1
None known
golang-github-golang-protobuf-1-5
Ubuntu:26.10
All versions, plus listed versions
1.5.4-2
None known
golang-github-golang-protobuf-1-5
Ubuntu:26.04:LTS
All versions, plus listed versions
1.5.4-11.5.4-2
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-24535 is a high vulnerability (CVSS 7.5) in Protobuf, published March 14, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.09%, the 65th percentile. Fixed in google.golang.org/protobuf 1.29.1.

References

Show 4 moreShow less
MoveEnter Open