CVE-2026-42507: Error-message and log injection in Go net/textproto
CVE-2026-42507 is an error-message injection vulnerability in the Go standard library's net/textproto package. Functions include their input in returned errors, allowing attacker-controlled input to introduce misleading content when an application prints or logs those errors. Exploitation depends on an application processing crafted input through an affected error-handling path and exposing the resulting error text. The vulnerability is rated Medium, with a CVSS v3.0 base score of 5.3.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the integrity of application logs or printed diagnostics by introducing misleading attacker-controlled content. This can misrepresent application events and interfere with interpretation of diagnostic or audit information. The CVSS v3.0 assessment specifies low integrity impact and no confidentiality or availability impact; code execution, privilege escalation, and denial of service are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific vendor workaround is documented. Applying the relevant security update is the established corrective action.
Remediation
Patch, then assume compromise.
Apply vendor security updates for affected Go-based applications and bundled components. For Echo stdlib packages, update stdlib and related packages to version 1.25.11 or later. For vendor-distributed products, deploy the applicable security-fixed product release rather than assuming that updating a system Go installation patches existing binaries. Rebuild and redeploy internally maintained affected Go applications using a patched Go toolchain.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-42507 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2026-42507 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-42507?
- As of Nov 20, 2026, Mallory has found no public exploit for CVE-2026-42507.
- Is there a patch for CVE-2026-42507?
- Apply vendor security updates for affected Go-based applications and bundled components. For Echo stdlib packages, update stdlib and related packages to version 1.25.11 or later.
- How severe is CVE-2026-42507?
- CVE-2026-42507 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 0.41% (27th percentile) as of Nov 20, 2026.
Recent activity
129 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.