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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.09%, higher than 66% of CVEs (2026-12-01)
- Published: 2023-03-14T16:47:00.000Z
- Modified: 2026-09-10T03:49:52.952Z
- Also known as: GHSA-hw7c-3rfg-p46j, GO-2023-1631
- Related: CGA-fm8q-xqj8-xg8c
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- google.golang.org/protobuf/encoding/prototext: from 1.29.0 before 1.29.1
- google.golang.org/protobuf/internal/encoding/text: from 1.29.0 before 1.29.1
- google.golang.org/protobuf (Go): from 1.29.0 before 1.29.1
- protobuf protobuf: 1.29.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://go.dev/cl/475995> (fix, patch, web)
- <https://github.com/golang/protobuf/issues/1530> (issue-tracking, report, web)
- <https://pkg.go.dev/vuln/GO-2023-1631> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-24535> (advisory)
- <https://github.com/golang/protobuf> (package)

## Sources

- CVE List: [CVE-2023-24535](https://www.cve.org/CVERecord?id=CVE-2023-24535), CVE Terms of Use, modified 2025-01-06
- GitHub Advisory Database: [GHSA-hw7c-3rfg-p46j](https://github.com/advisories/GHSA-hw7c-3rfg-p46j), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-1631](https://pkg.go.dev/vuln/GO-2023-1631), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-24535](https://nvd.nist.gov/vuln/detail/CVE-2023-24535), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-24535 · Whole record: https://cve.day/CVE-2023-24535.json · Rebuilt by cve.day 2026-11-25T22:58:24.687Z
