---
id: CVE-2026-121925
title: >-
  Buffer overflow in SAML authentication post-back URL handling in
  libsnowflakeclient and Snowflake PHP PDO Driver
summary: >-
  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
  driver…
severity: medium
cvss: 6.6
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-121
vendor: Snowflake
product: Snowflake PHP PDO Driver
affected:
  - php_pdo_driver >= 3.2.0 < 4.3.0
  - libsnowflakeclient >= 2.1.0 < 2.11.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-04T18:20:10.577872Z'
published: '2026-11-04'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T20:00:57.987Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-121925'
references:
  - url: >-
      https://docs.snowflake.com/en/release-notes/clients-drivers/php-pdo-2026#version-430-oct-1-2026
    label: Snowflake PHP PDO Driver Release Notes
  - url: 'https://github.com/snowflakedb/libsnowflakeclient/releases/tag/v2.11.1'
    label: Snowflake Libsnowflakeclient Release Notes
tags:
  - cve.org
ingestedAt: '2026-11-05T21:36:00.524Z'
epss: 0.00598
epssPercentile: 0.48864
---

## Overview

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

- `php_pdo_driver >= 3.2.0 < 4.3.0`
- `libsnowflakeclient >= 2.1.0 < 2.11.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
