The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite lo
The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.
- Published
- Jun 17, 2020
- Updated
- Jun 16, 2026
- EPSS
- 1.8% · 78th percentile
- CWE
- CWE-835
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.8%
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| golang | text | cpe:2.3:a:golang:text |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora32
- golang textbefore 0.3.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | libslirp | before 4.3.1-1.module_el8.6.0+2876+9ed4eae2 | 4.3.1-1.module_el8.6.0+2876+9ed4eae2 |
| AlmaLinux:8 | libslirp-devel | before 4.3.1-1.module_el8.6.0+2876+9ed4eae2 | 4.3.1-1.module_el8.6.0+2876+9ed4eae2 |
| AlmaLinux:8 | python-podman-api | before 1.2.0-0.2.gitd0a45fe.module_el8.5.0+2635+e4386a39 | 1.2.0-0.2.gitd0a45fe.module_el8.5.0+2635+e4386a39 |
| AlmaLinux:8 | python-podman-api | before 1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455 | 1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455 |
| Debian:12 | golang-golang-x-text | before 0.3.3-1 | 0.3.3-1 |
| Go | golang.org/x/text | before 0.3.3 | 0.3.3 |
| Red Hat:devtools:2020 | go-toolset-1.13 | before 0:1.13.15-1.el7 | 0:1.13.15-1.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-build | before 0:1.13.15-1.el7 | 0:1.13.15-1.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-golang | before 0:1.13.15-3.el7 | 0:1.13.15-3.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-golang-bin | before 0:1.13.15-3.el7 | 0:1.13.15-3.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-golang-docs | before 0:1.13.15-3.el7 | 0:1.13.15-3.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-golang-misc | before 0:1.13.15-3.el7 | 0:1.13.15-3.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-golang-race | before 0:1.13.15-3.el7 | 0:1.13.15-3.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-golang-src | before 0:1.13.15-3.el7 | 0:1.13.15-3.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-golang-tests | before 0:1.13.15-3.el7 | 0:1.13.15-3.el7 |
| Red Hat:devtools:2020 | go-toolset-1.13-runtime | before 0:1.13.15-1.el7 | 0:1.13.15-1.el7 |
| Red Hat:enterprise_linux:8::appstream | buildah | before 0:1.15.1-2.module+el8.3.0+8221+97165c3f | 0:1.15.1-2.module+el8.3.0+8221+97165c3f |
| Red Hat:enterprise_linux:8::appstream | buildah-debuginfo | before 0:1.15.1-2.module+el8.3.0+8221+97165c3f | 0:1.15.1-2.module+el8.3.0+8221+97165c3f |
| Red Hat:enterprise_linux:8::appstream | buildah-debugsource | before 0:1.15.1-2.module+el8.3.0+8221+97165c3f | 0:1.15.1-2.module+el8.3.0+8221+97165c3f |
| Red Hat:enterprise_linux:8::appstream | buildah-tests | before 0:1.15.1-2.module+el8.3.0+8221+97165c3f | 0:1.15.1-2.module+el8.3.0+8221+97165c3f |
| Red Hat:enterprise_linux:8::appstream | buildah-tests-debuginfo | before 0:1.15.1-2.module+el8.3.0+8221+97165c3f | 0:1.15.1-2.module+el8.3.0+8221+97165c3f |
| Red Hat:enterprise_linux:8::appstream | cockpit-podman | before 0:18.1-2.module+el8.3.0+8221+97165c3f | 0:18.1-2.module+el8.3.0+8221+97165c3f |
| Red Hat:enterprise_linux:8::appstream | conmon | before 2:2.0.20-2.module+el8.3.0+8221+97165c3f | 2:2.0.20-2.module+el8.3.0+8221+97165c3f |
| Red Hat:enterprise_linux:8::appstream | container-selinux | before 2:2.144.0-1.module+el8.3.0+8221+97165c3f | 2:2.144.0-1.module+el8.3.0+8221+97165c3f |
+96
Same product
golang: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-28852In x/text in Go before v0.3.5, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag.31Monitor
- CVE-2021-38561golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing.30Monitor
- CVE-2022-32149Denial of service via crafted Accept-Language header in golang.org/x/text/language30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:libslirp | 4.3.1-1.module_el8.6.0+2876+9ed4eae2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libslirp-devel | 4.3.1-1.module_el8.6.0+2876+9ed4eae2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python-podman-api | 1.2.0-0.2.gitd0a45fe.module_el8.5.0+2635+e4386a39 · AlmaLinux:8 | Package registry (OSV) |
| debian:golang-golang-x-text | 0.3.3-1 · Debian:12 | Package registry (OSV) |
| Go:golang.org/x/text | 0.3.3 | Package registry (OSV) |
| red hat:ior | 0:1.1.6-1.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:kiali | 0:v1.12.10.redhat2-1.el7 · Red Hat:service_mesh:1.1::el7 | Package registry (OSV) |
| red hat:servicemesh | 0:1.1.6-1.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-citadel | 0:1.1.6-1.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-cni | 0:1.1.6-1.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-galley | 0:1.1.6-1.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-grafana | 0:6.4.3-13.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-grafana-prometheus | 0:6.4.3-13.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-istioctl | 0:1.1.6-1.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-mixc | 0:1.1.6-1.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-mixs | 0:1.1.6-1.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| red hat:servicemesh-operator | 0:1.1.6-2.el8 · Red Hat:service_mesh:1.1::el8 | Package registry (OSV) |
| rocky linux:libslirp | 0:4.3.1-1.module+el8.7.0+1076+9b1c11c1 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:python-podman-api | 0:1.2.0-0.2.gitd0a45fe.module+el8.5.0+770+e2f49861 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:toolbox | 0:0.0.8-1.module+el8.4.0+556+40122d08 · Rocky Linux:8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- groups.google.com/forum/#%21topic/golang-announce/bXVeAmGOqz0
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.