Injection Vulnerability in Go Programming's net/textproto Package
CVE-2026-42507

5.3MEDIUM

Key Information:

Vendor
CVE Published:
2 June 2026

What is CVE-2026-42507?

The net/textproto package in Go can potentially expose systems to content injection risks due to its error handling mechanisms. When errors are returned, the functions might include user input in their responses, allowing attackers to manipulate error logs or printed messages. This vulnerability can lead to the injection of misleading content, complicating incident response and analysis. Proper scrutiny of user inputs in these error messages is essential to mitigate the risks associated with this vulnerability.

Affected Version(s)

net/textproto 0 < 1.25.11

net/textproto 1.26.0-0 < 1.26.4

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.