Skip to main content
← All vulnerabilities
CVE-2026-42507GO-2026-5039BIT-GOLANG-2026-42507

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.25.11, 1.26.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • net/textproto

    fixed in 1.25.11; From 1.26.0-0 · fixed in 1.26.4

  • stdlibGo

    fixed in 1.25.11; From 1.26.0-0 · fixed in 1.26.4

References 4

go.dev

groups.google.com

pkg.go.dev