Buffer overflow in SAML authentication post-back URL handling in libsnowflakeclient and Snowflake PHP PDO Driver
- CVE-2026-121925
- GHSA-cmv8-j38c-qhxx
- EUVD-2026-116886
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.
Text from the CVE.org record.
Recommendation
Snowflake Snowflake Libsnowflakeclient
- If you run a version from 2.1.0 to before 2.11.1update to 2.11.1 or laterMinor version change: check the release notes
Snowflake Snowflake PHP PDO Driver
- If you run a version from 3.2.0 to before 4.3.0update to 4.3.0 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Snowflake Snowflake Libsnowflakeclient
Affected versions Fixed in from 2.1.0 to before 2.11.1 2.11.1 Snowflake Snowflake PHP PDO Driver
Affected versions Fixed in from 3.2.0 to before 4.3.0 4.3.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.