Expedition. Free, on-demand.

Technical tracks for practitioners, outcomes for leaders.

CVE ID

  • CVE-2026-121925

CVE ID Summary

  • A stack-based buffer overflow in the SAML/SSO login flow of libsnowflakeclient and the Snowflake PHP PDO Driver can cause memory corruption when an oversized value is returned by the identity provider. Requires a compromised or redirected IdP endpoint.

CWE ID

  • CWE-121: Stack-based Buffer Overflow

Affected Versions

  • Snowflake PHP PDO Driver: 3.2.0 < 4.3.0

  • Snowflake Libsnowflakeclient: 2.1.0 < 2.11.1

Patched Versions

  • Snowflake PHP PDO Driver: 4.3.0

  • Snowflake Libsnowflakeclient: 2.11.1

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.

Resolution

  • Upgrade libsnowflakeclient to 2.11.1 and the Snowflake PHP PDO Driver to 4.3.0. Users must manually upgrade.

Where Data Does More