Description
moby through v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger multiple concurrent write operations resulting in data corruption or application crashes.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | docker.io | 26.1.4+dfsg1-9 | — |
| Debian 13 | docker.io | 26.1.4+dfsg1-9 | — |
| Debian 12 | docker.io | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | docker.io-app | 27.5.1-0ubuntu3~24.04.2 | — |
| Ubuntu 22.04 LTS | docker.io-app | 27.5.1-0ubuntu3~22.04.2 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | docker.io | 20.10.25+dfsg1-2ubuntu1+esm2 | USN-7474-1 |
| Ubuntu Pro 22.04 LTS | docker.io | 20.10.21-0ubuntu1~22.04.7+esm2 | USN-7474-1 |
| Ubuntu Pro 20.04 LTS | docker.io | 20.10.21-0ubuntu1~20.04.6+esm2 | USN-7474-1 |
| Ubuntu Pro 20.04 LTS | docker.io-app | 26.1.3-0ubuntu1~20.04.1+esm1 | — |
| Ubuntu Pro 18.04 LTS | docker.io | 20.10.21-0ubuntu1~18.04.3+esm3 | USN-7474-1 |
| Ubuntu Pro 16.04 LTS | docker.io | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20241209T183251-1.1 | openSUSE-SU-2024:14567-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | docker | 25.0.6-1.amzn2023.0.1 | ALAS2023-2024-674 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | docker-cli | 25.0.3-3 | — |
| Azure Linux 3 | moby-engine | 25.0.3-9 | — |
| Azure Linux 2 (CBL-Mariner) | moby-cli | 24.0.9-6 | — |
| Azure Linux 2 (CBL-Mariner) | moby-compose | 2.17.3-8 | — |
| Azure Linux 2 (CBL-Mariner) | moby-engine | 24.0.9-13 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | amazon-cloudwatch-agent-operator | 3.5.0-r0 | — |
| Wolfi rolling | kubevela +3 | 1.9.13-r2 | — |
| Wolfi rolling | promxy | 0.0.94-r0 | — |
| Wolfi rolling | pulumi +3 | 3.142.0-r1 | — |
| Wolfi rolling | rancher-agent-2.14 | 2.14.3-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/moby/moby | < 25.0.4 | 25.0.4 | GHSA-gh5c-3h97-2f3q |
| Go | github.com/moby/moby | < 26.0.0+incompatible | 26.0.0+incompatible | GO-2024-3305 |
Advisories 3
- USN-7474-1 docker.io vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2024:14567-1 govulncheck-vulndb-0.0.20241209T183251-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2024-674 Important: docker security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 24, 2024
References
- https://github.com/moby/moby/commit/5689dabfb357b673abdb4391eef426f297d7d1bb
- https://github.com/moby/moby/blob/v25.0.3/pkg/streamformatter/streamformatter.go#L115
- https://gist.github.com/1047524396/c192c0159a19bf58a4373b696467dc29
- https://github.com/moby/moby/commit/8e3bcf19748838b30e34d612832d1dc9d90363b8