# CVE-2026-121925: Buffer overflow in SAML authentication post-back URL handling in libsnowflakeclient and Snowflake PHP PDO Driver

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.6
- **CVSS:** 6.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.85% (percentile 56, 2026-11-26)
- **CWE:** CWE-121
- **Published:** 2026-11-04T11:28:56.733Z
- **Modified:** 2026-11-06T21:15:29.947Z

## Who should check

- Anyone running Snowflake PHP PDO Driver \>= 3.2.0, \< 4.3.0
- Anyone running Snowflake Libsnowflakeclient \>= 2.1.0, \< 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. Users must manually upgrade.

## Affected and fixed versions

- Snowflake PHP PDO Driver: \>= 3.2.0, \< 4.3.0 (cvelist)
- Snowflake Libsnowflakeclient: \>= 2.1.0, \< 2.11.1 (cvelist)

## Mitigation

- Upgrade Snowflake PHP PDO Driver to 4.3.0 or later.
- Upgrade Snowflake Libsnowflakeclient to 2.11.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-121925. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-121925.md
Affected: Snowflake PHP PDO Driver >= 3.2.0, < 4.3.0; Snowflake Libsnowflakeclient >= 2.1.0, < 2.11.1
Fixed in: Snowflake PHP PDO Driver 4.3.0, Snowflake Libsnowflakeclient 2.11.1

Steps:
1. Search this machine and project for Snowflake PHP PDO Driver, Snowflake Libsnowflakeclient: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-121925 being exploited?

There is no confirmed exploitation: CVE-2026-121925 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-121925?

Medium: CVSS 6.6 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-121925?

Snowflake PHP PDO Driver \>= 3.2.0, \< 4.3.0; Snowflake Libsnowflakeclient \>= 2.1.0, \< 2.11.1.

### Is there a fix for CVE-2026-121925?

Yes. Fixed in Snowflake PHP PDO Driver 4.3.0, Snowflake Libsnowflakeclient 2.11.1. Upgrade Snowflake PHP PDO Driver to 4.3.0 or later. Upgrade Snowflake Libsnowflakeclient to 2.11.1 or later.

### How do I check if I'm affected by CVE-2026-121925?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://docs.snowflake.com/en/release-notes/clients-drivers/php-pdo-2026#version-430-oct-1-2026>
- other: <https://github.com/snowflakedb/libsnowflakeclient/releases/tag/v2.11.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-121925>

HTML: <https://flawdb.com/CVE-2026-121925> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-121925>
