🛡️ CVE-2026-42507 — golang
Description
Arbitrary inputs are included in errors without any escaping in net/textproto
When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Affected software
CVE-2026-42507 is recorded against 3 packages.
- golang
- stdlib
- unknown
Timeline and source
Published on 5 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
go.dev (Web)
go.dev (Web)
groups.google.com (Web)
nvd.nist.gov (Web)
pkg.go.dev (Web)
CVE-2026-42507 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| golang | — | — |
| stdlib | — | — |
| unknown | — | — |
References
Similar Threats
- Unknown ALSA-2024:2562
- Unknown ALSA-2024:1963
- Unknown ALSA-2024:1962
- Unknown ALSA-2024:1462
- Unknown ALSA-2024:1472
More CVE 2026 advisories
Browse all of CVE 2026 in the advisory index.
Vulnerability Monitoring
Track new vulnerabilities in golang
CVE-2026-42507 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.