Intel

AIKIDO-2026-10916

github.com/scylladb/gocql is vulnerable to Use after free

Use after free Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 2 days ago

59

Medium Risk

This Affects:

GOgithub.com/scylladb/gocql
1.14.5 - 1.17.3
Fixed in 1.18.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package contain a use-after-free flaw in the float deserialization logic, where uint64ToFloatR and uint32ToFloatR return an unsafe.Pointer to a stack-local parameter that becomes invalid once the function returns. This can impact the **float64 and **float32 unmarshal paths, leading to memory corruption, crashes, or unpredictable behavior when crafted input triggers reuse of the dangling pointer. An attacker able to supply malicious serialized data could exploit this condition to induce denial of service or potentially influence application behavior through unsafe memory access.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/scylladb/gocql is vulnerable to Use after free in versions 1.14.5 - 1.17.3.

How to fix this

Upgrade the github.com/scylladb/gocql library to the patch version.