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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| google.golang.org/protobuf | google.golang.org/protobuf/encoding/prototext | 1.29.0 – < 1.29.1 | 1.29.1 |
| google.golang.org/protobuf | google.golang.org/protobuf/internal/encoding/text | 1.29.0 – < 1.29.1 | 1.29.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-golang-protobuf-1-5 | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-golang-protobuf-1-5 | No fix yet | — |
| Ubuntu 25.10 | golang-github-golang-protobuf-1-3 +1 | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-golang-protobuf-1-3 +1 | No fix yet | — |
| Ubuntu 22.04 LTS | golang-goprotobuf | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | golang-goprotobuf | No fix yet | — |
| Ubuntu 18.04 LTS | golang-goprotobuf | No fix yet | — |
| Ubuntu 16.04 LTS | golang-goprotobuf | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ko | 0.13.0-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | google.golang.org/protobuf | >= 1.29.0, < 1.29.1 | 1.29.1 | GHSA-hw7c-3rfg-p46j |