# CVE-2022-42965: PYSEC-2026-922 - snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)

Source: https://junglewise.ai/threats/cve-2022-42965-snowflake-connector-python-is-vulnerable-to-regular-expression  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2022-42965 · Severity: low · CVSS 3.1 · Published 2026-07-07

snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)

Technologies: [snowflake-connector-python (PyPI)](https://junglewise.ai/threats/technologies/snowflake-connector-python). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-42965 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-42965 being exploited in the wild.

**How severe is CVE-2022-42965?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** snowflake-connector-python (PyPI) ECOSYSTEM:introduced=0,fixed=2.8.2.

**Is there a fix for CVE-2022-42965?** Yes. snowflake-connector-python (PyPI): upgrade to 2.8.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-42965?** Check whether you run snowflake-connector-python (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- snowflake-connector-python (PyPI): upgrade to 2.8.2 or later

  ```sh
  pip install "snowflake-connector-python>=2.8.2"
  ```


## Affected products

- snowflake-connector-python (PyPI) ECOSYSTEM:introduced=0,fixed=2.8.2

## Identifiers

- CVE-2022-42965
- GHSA-4r6j-fwcx-94cf
- PYSEC-2026-922

## Related threats

- [Snowflake drivers sensitive information insertion in logs](https://junglewise.ai/threats/cve-2026-86597-snowflake-drivers-sensitive-information-insertion-in-logs)
- [Snowflake Connector for Python improper TLS hostname verification](https://junglewise.ai/threats/cve-2026-15925-snowflake-connector-for-python-improper-tls-hostname-verification)
- [Snowflake Connector for Python SQL injection in write_pandas](https://junglewise.ai/threats/cve-2025-24793-snowflake-connector-for-python-sql-injection-in-write-pandas)
- [snowflake-connector-python vulnerable to insecure cache files permissions](https://junglewise.ai/threats/cve-2025-24795-snowflake-connector-python-vulnerable-to-insecure-cache-files)
- [snowflake-connector-python vulnerable to insecure deserialization of the OCSP response cache](https://junglewise.ai/threats/cve-2025-24794-snowflake-connector-python-vulnerable-to-insecure-deserialization)
