5.3Medium

CVE-2026-42507Arbitrary inputs are included in errors without any escaping in net/textproto

Go standard library net/textproto Published: (5 months ago)

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.

Weakness (CWE): CWE-532

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library net/textproto < 1.25.11, 1.26.0-0 – < 1.26.4

References and patches