Skip to main content

libsnowflakeclient CVE-2026-16870

| EUVDEUVD-2026-48485 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-24 SNOWFLAKE GHSA-f55h-4j35-8285
8.8
CVSS 3.1 · Vendor: SNOWFLAKE
Share

Severity by source

Vendor (SNOWFLAKE) PRIMARY
8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.5 HIGH

Authenticated principal needed (PR:L) and a non-default shared-stage/config-influence precondition raises complexity to AC:H, while metadata-driven memory corruption yields full C/I/A impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (SNOWFLAKE).

CVSS VectorVendor: SNOWFLAKE

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch available
Jul 24, 2026 - 07:32 EUVD
Source Code Evidence Fetched
Jul 24, 2026 - 06:00 vuln.today
Analysis Generated
Jul 24, 2026 - 06:00 vuln.today
CVE Published
Jul 24, 2026 - 04:40 cve.org
HIGH 8.8

DescriptionCVE.org

Multiple security vulnerabilities in Snowflake libsnowflakeclient versions prior to 2.9.2 could allow remote code execution and credential exfiltration. A stack-based buffer overflow in the file download path could allow remote code execution on a victim host. An attacker could exploit this by uploading a file with a crafted encryption metadata field to a shared internal stage that a victim process later downloads, and impact would be limited to deployments where principals with different privilege levels share the same internal stage. A related out-of-bounds write in the same download path could allow memory corruption with attacker-controlled write primitives. An attacker may exploit this through a crafted initialization vector metadata field on a shared stage, and impact would be limited by the same stage-write precondition. Improper validation of connection parameters could allow an attacker-controlled input to redirect outbound authentication requests - including credentials and tokens - to an attacker-controlled endpoint. Impact is limited to embedding deployments where a lower-privileged principal can influence connection configuration while higher-privileged service credentials are in use. The fix is available in Snowflake libsnowflakeclient version 2.9.2. Users must manually upgrade.

AnalysisAI

Remote code execution and credential exfiltration in Snowflake libsnowflakeclient versions before 2.9.2 stem from three distinct flaws in the C client library: a stack-based buffer overflow (CWE-121) and an out-of-bounds write in the file-download path, plus improper validation of connection parameters. A lower-privileged principal sharing an internal stage can plant a file with crafted encryption metadata that corrupts memory in a higher-privileged victim process, while the connection-parameter flaw can redirect outbound authentication requests carrying credentials and tokens to an attacker endpoint. There is no public exploit identified at time of analysis and the CVE is not in CISA KEV; the vendor fixed all issues in 2.9.2, which users must manually install.

Technical ContextAI

libsnowflakeclient is Snowflake's native C/C++ connector library used to embed Snowflake connectivity into applications and services (CPE cpe:2.3:a:snowflake:snowflake_libsnowflakeclient). The download path decrypts files staged in Snowflake internal stages; per the 2.9.2 release notes the memory-safety issue maps to SNOW-3648676, a Base64 buffer overflow in the encryption/storage-client paths, consistent with the CWE-121 stack-based buffer overflow triggered by attacker-controlled encryption metadata (encryption key material and the initialization vector field). A separate out-of-bounds write in the same path yields an attacker-controlled write primitive. The third issue corresponds to SNOW-3649749, added validation of account/region/host/protocol/port attributes used in request URLs, meaning unvalidated connection parameters could steer authentication requests to arbitrary hosts (an SSRF/credential-redirect class problem distinct from the memory-corruption CWE).

RemediationAI

Vendor-released patch: libsnowflakeclient version 2.9.2 - upgrade to it and rebuild/redeploy any application that statically or dynamically links the library, per https://github.com/snowflakedb/libsnowflakeclient/releases/tag/v2.9.2; note the vendor states users must upgrade manually, so there is no automatic remediation. Until upgraded, reduce exposure to the memory-corruption vectors by ensuring principals of different privilege levels do not share the same internal stage (segregate stages per privilege tier), which removes the crafted-metadata write precondition at the cost of additional stage management. For the credential-redirect flaw, prevent lower-privileged principals from influencing connection configuration (account/region/host/protocol/port) in embedding deployments and pin/allowlist the expected Snowflake account host, accepting reduced configuration flexibility. The 2.9.2 build also updates bundled OpenSSL to 3.5.7, so upgrading additionally addresses transitive TLS-library exposure.

Share

CVE-2026-16870 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy