CVE-2026-42507

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

Medium · published June 2, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
34.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00412 · 34.3th percentile
Published
2026-06-02T22:01Z
EPSS history
Timeline
  • 02 JUN 22:01Z
    Arbitrary inputs are included in errors without any escaping in net/textproto
    cvelistv5