CVE-2026-42507

MEDIUM

Arbitrary inputs are included in errors without any escaping in net/textproto

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.3
EPSS 0.0026
EPSS Percentile 17.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

Status published
Products (2)
Go standard library/net/textproto < 1.25.11
Go standard library/net/textproto 1.26.0-0 - 1.26.4
Published Jun 02, 2026
Tracked Since Jun 03, 2026