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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged principal
  2. Delivery
    Upload file with crafted encryption/IV metadata
  3. Exploit
    Place on shared internal stage
  4. Execution
    Victim process downloads and decrypts
  5. Persist
    Trigger stack overflow in download path
  6. Impact
    Execute code as higher-privileged victim

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

For the RCE/OOB-write vectors: the attacker must be an authenticated Snowflake principal able to upload to an internal stage that is SHARED with a higher-privileged victim process (principals of different privilege levels sharing the same internal stage) and must supply a crafted encryption-metadata field - specifically a malicious encryption key/metadata field (buffer overflow) or a crafted initialization vector (IV) metadata field (out-of-bounds write); the victim process must subsequently download that file. For the credential-redirect vector: the deployment must be an embedding scenario where a lower-privileged principal can influence connection configuration parameters (account/region/host/protocol/port) while higher-privileged service credentials are in use. Limiting factors: none of the vectors work against deployments that isolate stages by privilege level or that prevent low-privileged control of connection parameters; all require an authenticated principal (PR:L), and exploitation depends on the victim performing a download or an outbound auth request.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) rates this High/Critical with low complexity, but the description materially qualifies that score: exploitation of the memory-corruption flaws is limited to deployments where principals of differing privilege share the same internal stage, and the credential-redirect flaw is limited to embedding deployments where a low-privileged principal can influence connection configuration while higher-privileged credentials are in use. These are meaningful, non-default preconditions, so real-world AC is arguably higher than the AC:L in the published vector. No EPSS score, KEV entry, POC, or SSVC decision data was provided; absent those signals and given the specialized preconditions, this reads as a genuine multi-vector risk for specific shared-stage/embedding architectures rather than broadly wormable mass-exploitation. The PR:L is appropriate since the attacker must be an authenticated principal with stage-write or config-influence capability.

Exploit ScenarioDerived

In a multi-tenant setup where a low-privileged principal and a higher-privileged service both use the same Snowflake internal stage, the attacker uploads a file whose encryption metadata (encryption key/IV field) is crafted to overflow a stack buffer in the victim's download path. When the higher-privileged process later downloads and decrypts that file via libsnowflakeclient <2.9.2, the overflow or out-of-bounds write corrupts memory and can lead to code execution in the victim context. No public exploit is identified at time of analysis, and the network attack vector is gated by the shared-stage and authenticated-principal preconditions.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

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.

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.

Affected VersionsENISA

Snowflake libsnowflakeclient 0.1.1 <2.9.2

Affected Packages

euvd snowflake_libsnowflakeclient fix: 2.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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).

Know when Snowflake Libsnowflakeclient gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

2
Patch available
Jul 24, 2026 - 07:32 EUVD
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.

Executive ViewAI

Why It Matters

Snowflake's libsnowflakeclient contains critical vulnerabilities enabling remote code execution and credential exfiltration on affected systems. Organizations using versions prior to 2.9.2 risk unauthorized access to their data warehouse and theft of credentials and authentication tokens used for external connections.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Until version 2.9.2 becomes available, restrict access to shared internal stages and implement strict access controls limiting who can upload files. Monitor all Snowflake connection attempts and credential usage for anomalies. Implement network segmentation to limit credential exfiltration scope.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
Snowflake native C connector; common where Snowflake is embedded, not universal
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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