CVE-2020-16845
Go vulnerability analysis and mitigation

Overview

CVE-2020-16845 affects Go programming language versions before 1.13.15 and 14.x before 1.14.7. The vulnerability was discovered in August 2020 and affects the encoding/binary package, specifically the ReadUvarint and ReadVarint functions (NVD).

Technical details

The vulnerability exists in the encoding/binary package where certain invalid inputs to the ReadUvarint and ReadVarint functions could cause those functions to read an unlimited number of bytes from the ByteReader argument before returning an error. The vulnerability has a CVSS v3.1 Base Score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

A successful exploitation of this vulnerability could lead to a Denial of Service (DoS) condition by causing an infinite read loop when processing invalid inputs (NetApp Advisory).

Exploitability

The vulnerability is remotely exploitable without requiring authentication. An attacker can trigger the vulnerability by providing specially crafted invalid inputs to the affected functions (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.13.15 and 1.14.7. Users should upgrade to these or later versions. The fix ensures that the functions terminate if more than 10 bytes of input have been read (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Go vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-54365HIGH8.7
  • Go logoGo
  • cpe:2.3:a:traefik:traefik
NoYesJun 23, 2026
CVE-2026-39822HIGH7.8
  • Go logoGo
  • jaeger-1
NoYesJul 08, 2026
CVE-2026-42504HIGH7.5
  • Go logoGo
  • kserve-rest-proxy
NoYesJun 02, 2026
CVE-2026-42505MEDIUM5.3
  • Go logoGo
  • docker-cli-buildx-fips
NoYesJul 08, 2026
CVE-2026-42507MEDIUM5.3
  • Go logoGo
  • golang-github-burntsushi-toml-debugsource
NoYesJun 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management