{"id":"CVE-2026-121925","kind":"vulnerability","aliases":["CVE-2026-121925"],"related":[],"title":"Snowflake PHP PDO driver: SAML login overflow can crash or run code","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.","summary":"A stack buffer overflow in libsnowflakeclient and the Snowflake PHP PDO Driver occurs when the driver copies an oversized value from the identity provider's HTML response during native SSO/SAML login. An attacker who controls or compromises the identity provider, or can redirect the SAML SSO endpoint to their own server, can crash the application or, in specific circumstances, execute code within it.","severity":"medium","cvss":6.6,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","pdo","php","saml","snowflake","sso"],"not_affected_if":["key-pair-auth","no-saml-login","password-auth"],"how_to_check":"- Check the installed PHP PDO driver version with `composer show snowflake/pdo` or your package manager and compare it to `4.3.0`.\n- Check the libsnowflakeclient version in use against `2.11.1`.\n- Look for native SSO/SAML (external browser or IdP-based) authentication in the application's Snowflake connection settings.","fix":"- Snowflake PHP PDO Driver: `4.3.0`\n- libsnowflakeclient: `2.11.1`","status":"open","published_at":"2026-11-04T12:17:06+00:00","first_seen_at":"2026-11-04T12:26:52+00:00","triaged_at":"2026-11-04T12:27:39+00:00","updated_at":"2026-11-04T12:27:39+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-04T12:27:39Z","model":"claude-haiku-5-5","output":{"fix":"- Snowflake PHP PDO Driver: `4.3.0`\n- libsnowflakeclient: `2.11.1`","reach":"network","title":"Snowflake PHP PDO driver: SAML login overflow can crash or run code","impact":"high","summary":"A stack buffer overflow in libsnowflakeclient and the Snowflake PHP PDO Driver occurs when the driver copies an oversized value from the identity provider's HTML response during native SSO/SAML login. An attacker who controls or compromises the identity provider, or can redirect the SAML SSO endpoint to their own server, can crash the application or, in specific circumstances, execute code within it.","audience":"developers","category":"package","nicknames":[],"who_cares":["snowflake","php","pdo","saml","sso"],"confidence":0.7,"fix_status":"available","needs_auth":"unknown","worst_case":"Application crashes or code runs within the application process","analyst_note":"","how_to_check":"- Check the installed PHP PDO driver version with `composer show snowflake/pdo` or your package manager and compare it to `4.3.0`.\n- Check the libsnowflakeclient version in use against `2.11.1`.\n- Look for native SSO/SAML (external browser or IdP-based) authentication in the application's Snowflake connection settings.","plain_action":"","needs_analyst":false,"not_affected_if":["no-saml-login","key-pair-auth","password-auth"],"who_is_affected":"Applications that connect to Snowflake from PHP through the PDO driver, or that link libsnowflakeclient, and use native SSO/SAML login. The exposure depends on an attacker controlling or redirecting the identity provider endpoint, so applications using only key-pair or password authentication are less exposed. Teams not using SAML login can skip it but should still upgrade.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000765,"input_tokens":4326,"output_tokens":664,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-121925':15A,18A '-2026':14A,17A '2.11.1':218C '4.3.0':225C 'abl':165C 'affect':121C 'applic':79B,207C 'attack':57B,152C,178C 'attacker-control':177C 'authent':113C 'avail':214C 'base':90C,112C 'buffer':27B,91C,142C 'circumst':83B,198C 'code':12A,85B,200C 'compromis':61B,157C 'condit':104C 'configur':159C 'context':204C 'control':59B,154C,179C 'copi':41B,125C 'corrupt':108C 'could':101C 'crash':9A,77B,194C 'cve':13A,16A 'driver':4A,36B,40B,100C,122C,223C 'endpoint':71B,174C 'execut':84B,201C 'first':144C 'fix':139C,212C 'fixed-s':138C 'flow':119C 'html':50B,134C 'ident':47B,63B,131C,160C 'length':147C 'leverag':183C 'librari':210C 'libsnowflakecli':30B,94C,216C 'login':6A,55B,118C 'manual':228C 'may':123C 'memori':107C,141C 'might':181C 'must':227C 'nativ':53B,116C 'occur':37B 'overflow':7A,28B,92C 'overs':43B,188C 'packag':19B 'pdo':3A,20B,35B,99C,222C 'php':2A,21B,34B,98C,221C 'potenti':190C 'provid':48B,64B,132C,161C 'redirect':67B,167C 'remot':199C 'respons':51B,135C,189C 'result':105C,191C 'return':186C 'run':11A,208C 'saml':5A,22B,69B,111C,169C 'saml-bas':110C 'server':75B,180C 'sign':172C 'sign-on':171C 'singl':170C 'size':140C 'snowflak':1A,23B,33B,97C,220C 'specif':82B,103C,197C 'sso':24B,70B 'sso/saml':54B,117C 'stack':26B,89C 'stack-bas':88C 'taken':128C 'upgrad':229C 'user':226C 'valid':145C 'valu':44B,127C,150C 'version':217C,224C 'within':86B,202C 'without':143C","nicknames":[],"mitigations":[],"who_affected":"Applications that connect to Snowflake from PHP through the PDO driver, or that link libsnowflakeclient, and use native SSO/SAML login. The exposure depends on an attacker controlling or redirecting the identity provider endpoint, so applications using only key-pair or password authentication are less exposed. Teams not using SAML login can skip it but should still upgrade.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["medium","package","pdo","php","saml","snowflake","sso"],"campaign_type":null,"first_public_at":"2026-11-04T12:17:06+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","cvss_by":"412d305a-227d-44f9-a262-a31ba44f2aea","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-121925","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121925","severity":null,"published_at":"2026-11-04T12:17:06+00:00","modified_at":"2026-11-04T12:17:06+00:00","first_seen_at":"2026-11-04T12:26:52+00:00","fetched_at":"2026-11-04T12:26:52+00:00","note":null}],"documents":[{"id":66750,"url":"https://github.com/snowflakedb/libsnowflakeclient/releases/tag/v2.11.1","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}