In short
- CVE-2026-42507 is a MEDIUM (CVSS 5.3) vulnerability affecting stdlib.
- Chance of exploitation in the next 30 days (EPSS): 0.37%, higher than 31.0% of all vulnerabilities.
- Fix: update to 1.26.4, 1.25.11 or later.
| Package | Affected versions | Patched versions |
|---|
| stdlib Go | ≥ 1.26.0-0, < 1.26.4< 1.25.11
| 1.26.41.25.11
|
Description
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.
NVD description
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free