CVE-2020-16845
HIGH 7.5CVSS 3.1Withdrawn Advisory: Infinite loop in xz
Go before 1.13.15 and 14.x before 1.14.7 can have an infinite read loop in ReadUvarint and ReadVarint in encoding/binary via invalid inputs.
- Published
- 6 Aug 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-835
- Also known as
- BIT-golang-2020-16845GHSA-q6gq-997w-f55gGO-2021-0142
- Sources
- NVDJSONOSV GHSA-q6gq-997w-f55gJSONOSV GO-2021-0142JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.13.15 | 1.13.15 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.14, < 1.14.7 | 1.14.7 |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* |
= 15.2 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
= 31 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| OSV | Go | github.com/ulikunitz/xz | < 0.5.8 | 0.5.8 |
| OSV | Go | stdlib | < 1.13.15; >= 1.14.0-0, < 1.14.7 | 1.13.15, 1.14.7 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00021.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00028.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00029.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00030.html · Mailing List, Third Party Advisory, WEB
- https://groups.google.com/forum/#%21topic/golang-announce/NyPIaucMgXo
- https://groups.google.com/forum/#%21topic/golang-announce/_ulYYcIWg3Q
- https://lists.debian.org/debian-lts-announce/2020/11/msg00037.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RCFJTMKHY5ICGEM5BUFUEDDGSPJ25XU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWRBAH4UZJO3RROQ72SYCUPFCJFA22FO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WV2VWKFTH4EJGZBZALVUJQJOAQB5MDQ4/
- https://security.netapp.com/advisory/ntap-20200924-0002/ · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-4848 · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuApr2021.html · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-16845 · ADVISORY
- https://github.com/ulikunitz/xz/issues/35 · WEB
- https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b · WEB
- https://groups.google.com/forum/#!topic/golang-announce/NyPIaucMgXo · WEB
- https://groups.google.com/forum/#!topic/golang-announce/_ulYYcIWg3Q · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RCFJTMKHY5ICGEM5BUFUEDDGSPJ25XU · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWRBAH4UZJO3RROQ72SYCUPFCJFA22FO · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WV2VWKFTH4EJGZBZALVUJQJOAQB5MDQ4 · WEB
- https://go.dev/cl/247120 · FIX
- https://go.googlesource.com/go/+/027d7241ce050d197e7fabea3d541ffbe3487258 · FIX
- https://go.dev/issue/40618 · REPORT
- https://groups.google.com/g/golang-announce/c/NyPIaucMgXo · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 6 Aug 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Dec 2021)