Description
A stack-based buffer overflow in libsnowflakeclient and the Snowflake PHP PDO Driver could, under specific conditions, result in memory corruption during SAML-based authentication. During a native SSO/SAML login flow, the affected drivers may have copied a value taken from the identity provider's HTML response into a fixed-size memory buffer without first validating the length of that value. An attacker who controlled or had compromised the configured identity provider — or who was able to redirect the SAML single sign-on endpoint to an attacker-controlled server — might have leveraged this by returning an oversized response, potentially resulting in a crash or, in specific circumstances, remote code execution within the context of the application running the library. The fix is available in libsnowflakeclient version 2.11.1 and Snowflake PHP PDO Driver version 4.3.0. Users must manually upgrade.
Published: 2026-11-04
Score: 6.6 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Now
AI Analysis

Impact

The vulnerability is a stack‑based buffer overflow that occurs when libsnowflakeclient or the Snowflake PHP PDO Driver copies a value from an identity provider’s HTML response into a fixed‑size buffer without length validation during a SAML SSO login. The overflow can corrupt memory and, in certain conditions, allow an attacker who controls the identity provider or redirects the SAML endpoint to a malicious server to trigger a crash or execute code within the context of the running application.

Affected Systems

The affected vendors are Snowflake, with the product snowflake client library and the Snowflake PHP PDO Driver. Versions prior to libsnowflakeclient 2.11.1 and Snowflake PHP PDO Driver 4.3.0 are vulnerable.

Risk and Exploitability

The CVSS score of 6.6 indicates a moderate severity. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. Exploitation requires the attacker to supply an oversized SAML response, so the attack vector is limited to scenarios where the identity provider can be compromised or spoofed. When the vector succeeds, memory corruption may lead to a crash or remote code execution in the context of the application using the library.

Generated by OpenCVE AI on November 4, 2026 at 12:19 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libsnowflakeclient to version 2.11.1 or later
  • Upgrade the Snowflake PHP PDO Driver to version 4.3.0 or later
  • Validate or whitelist the size of SAML responses received from identity providers to prevent oversized payloads
  • If immediate upgrade is not possible, disable SAML authentication in affected applications until the patch is applied

Generated by OpenCVE AI on November 4, 2026 at 12:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 11:45:00 +0000

Type Values Removed Values Added
Description A stack-based buffer overflow in libsnowflakeclient and the Snowflake PHP PDO Driver could, under specific conditions, result in memory corruption during SAML-based authentication. During a native SSO/SAML login flow, the affected drivers may have copied a value taken from the identity provider's HTML response into a fixed-size memory buffer without first validating the length of that value. An attacker who controlled or had compromised the configured identity provider — or who was able to redirect the SAML single sign-on endpoint to an attacker-controlled server — might have leveraged this by returning an oversized response, potentially resulting in a crash or, in specific circumstances, remote code execution within the context of the application running the library. The fix is available in libsnowflakeclient version 2.11.1 and Snowflake PHP PDO Driver version 4.3.0. Users must manually upgrade.
Title Buffer overflow in SAML authentication post-back URL handling in libsnowflakeclient and Snowflake PHP PDO Driver
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: SNOWFLAKE

Published:

Updated: 2026-11-04T11:28:56.733Z

Reserved: 2026-11-04T11:24:43.550Z

Link: CVE-2026-121925

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-04T12:17:06.577

Modified: 2026-11-04T12:17:06.577

Link: CVE-2026-121925

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T12:30:10Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow