Cyber Security News

Go 1.25.7 and Go 1.24.13 Released With Patches for Multiple Security Vulnerabilities

The Go team has officially released versions 1.25.7 and 1.24.13. These minor point releases address two distinct security vulnerabilities affecting the cmd/cgo command and the crypto/tls library.

The updates are recommended for all users to prevent potential code smuggling and authentication bypass scenarios.

Overview of the Vulnerability

cmd/cgo: Code Smuggling via Comment Parsing

The first vulnerability, tracked as CVE-2025-61732, affects the cmd/cgo tool, which enables the creation of Go packages that call C code.

The issue stems from a discrepancy in how the Go compiler and C/C++ compilers parse comments.

Attackers could exploit this parsing difference to smuggle code into the resulting cgo binary.

By crafting specific comment structures, malicious instructions could hide within documentation strings, executing code that the developer intended to be ignored as comments.

To resolve this, the cgo compiler in the new versions no longer parses user-provided documentation comments in cgo Abstract Syntax Trees (ASTs). This issue was reported by RyotaK of GMO Flatt Security Inc.

Go 1.25.7 and Go 1.24.13(Source: Twitter)

crypto/tls: Authentication Bypass in Session Resumption

The second issue involves the crypto/tls package and is an update to CVE-2025-68121. This vulnerability triggers unexpected behavior when using Config.GetConfigForClient.

By default, GetConfigForClient utilizes the session ticket keys from the original configuration unless explicitly overridden.

The security flaw occurs if the returned configuration modifies authentication parameters, such as ClientCAs.

In this scenario, a connection established with the parent configuration could be resumed, effectively bypassing the modified authentication requirements of the new configuration.

With this patch, crypto/tls now actively verifies that the root of the previously verified chain remains present in ClientCAs or RootCAs when resuming a connection.

This logic applies when ClientAuth is set to VerifyClientCertIfGiven or RequireAndVerifyClientCert. This finding is credited to Coia Prant.

CVE IDComponentSeverity / TypeDescription
CVE-2025-61732cmd/cgoCode InjectionDiscrepancy in comment parsing between Go and C/C++ allows code smuggling in cgo binaries.
CVE-2025-68121crypto/tlsAuth BypassSession resumption using GetConfigForClient may bypass updated authentication parameters (e.g., ClientCAs).

Developers should update their Go environments immediately. Binary and source distributions are available on the official Go download page.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

24 hours ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago