CVE-2026-42507

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

MEDIUM
5.3
CVSS Score
Published: June 2, 2026 at 10:01 PM UTC
Updated: July 22, 2026 at 07:24 PM UTC
1 product affected across 1 vendorNet/textproto

Using net/textproto by Go standard library?

Get instant alerts when new vulnerabilities affect net/textproto - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.25.111.26.0-0 ≤ v < 1.26.41.26.0-0
Affected range stops below 1.25.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.26.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.3MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusAWAITING ANALYSIS

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card