CVE-2026-16870: Stack-based Buffer Overflow in Snowflake Snowflake libsnowflakeclient
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. The Snowflake PHP PDO Driver and Snowflake ODBC Driver embed the affected library; fixes are available in versions 4.1.0 and 3.19.0 respectively. Users must manually upgrade.
AI Analysis
Technical Summary
CVE-2026-16870 describes multiple security vulnerabilities in Snowflake libsnowflakeclient versions prior to 2.9.2. The primary issues include a stack-based buffer overflow and an out-of-bounds write in the file download path, exploitable by uploading files with crafted encryption metadata or initialization vector metadata to shared internal stages. This can lead to remote code execution or memory corruption on victim hosts. Additionally, improper validation of connection parameters can allow attacker-controlled redirection of outbound authentication requests, potentially exposing credentials and tokens. The vulnerabilities require specific conditions such as shared internal stages between principals of different privilege levels or embedding deployments where lower-privileged principals influence connection configuration while higher-privileged credentials are active. Vendor patches are available in libsnowflakeclient 2.9.2, Snowflake PHP PDO Driver 4.1.0, and Snowflake ODBC Driver 3.19.0. Users must manually upgrade to these versions to remediate the issues.
Potential Impact
Successful exploitation can result in remote code execution on victim hosts, memory corruption via out-of-bounds writes, and credential or token exfiltration through redirection of authentication requests. The impact is limited to deployments where shared internal stages exist between principals of differing privilege levels or embedding deployments with mixed privilege configurations. Confidentiality, integrity, and availability of affected systems and data can be severely compromised.
Mitigation Recommendations
A fix is available. Users must manually upgrade Snowflake libsnowflakeclient to version 2.9.2 or later. Additionally, Snowflake PHP PDO Driver and Snowflake ODBC Driver should be upgraded to versions 4.1.0 and 3.19.0 respectively. Since this is a cloud service, vendor-managed remediation may apply, but manual upgrades are required for embedded deployments. Check the vendor advisory for the latest remediation guidance.
CVE-2026-16870: Stack-based Buffer Overflow in Snowflake Snowflake libsnowflakeclient
Description
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. The Snowflake PHP PDO Driver and Snowflake ODBC Driver embed the affected library; fixes are available in versions 4.1.0 and 3.19.0 respectively. Users must manually upgrade.
CVSS v3.1
Score 8.8high
Affected software
pkg:github/snowflakedb/libsnowflakeclientRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-16870 describes multiple security vulnerabilities in Snowflake libsnowflakeclient versions prior to 2.9.2. The primary issues include a stack-based buffer overflow and an out-of-bounds write in the file download path, exploitable by uploading files with crafted encryption metadata or initialization vector metadata to shared internal stages. This can lead to remote code execution or memory corruption on victim hosts. Additionally, improper validation of connection parameters can allow attacker-controlled redirection of outbound authentication requests, potentially exposing credentials and tokens. The vulnerabilities require specific conditions such as shared internal stages between principals of different privilege levels or embedding deployments where lower-privileged principals influence connection configuration while higher-privileged credentials are active. Vendor patches are available in libsnowflakeclient 2.9.2, Snowflake PHP PDO Driver 4.1.0, and Snowflake ODBC Driver 3.19.0. Users must manually upgrade to these versions to remediate the issues.
Potential Impact
Successful exploitation can result in remote code execution on victim hosts, memory corruption via out-of-bounds writes, and credential or token exfiltration through redirection of authentication requests. The impact is limited to deployments where shared internal stages exist between principals of differing privilege levels or embedding deployments with mixed privilege configurations. Confidentiality, integrity, and availability of affected systems and data can be severely compromised.
Mitigation Recommendations
A fix is available. Users must manually upgrade Snowflake libsnowflakeclient to version 2.9.2 or later. Additionally, Snowflake PHP PDO Driver and Snowflake ODBC Driver should be upgraded to versions 4.1.0 and 3.19.0 respectively. Since this is a cloud service, vendor-managed remediation may apply, but manual upgrades are required for embedded deployments. Check the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- SNOWFLAKE
- Date Reserved
- 2026-07-24T04:22:39.270Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a62fdb39c2644c7f8629a74
Added to database: 07/24/2026, 05:52:51 UTC
Last enriched: 07/31/2026, 15:13:03 UTC
Last updated: 09/06/2026, 10:52:07 UTC
Views: 141
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.