# CVE-2025-45768: PYSEC-2025-183 - pyjwt v2.10.1 was discovered to contain weak encryption. NOTE: this is disputed by the Supplier…

Source: https://junglewise.ai/threats/cve-2025-45768-pysec-2025-183-pyjwt-v2-10-1-was-discovered-to-contain-weak  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-07-31  
License: CC BY 4.0 with a link back

CVE-2025-45768 · Severity: low · CVSS 3.1 · Published 2025-07-31

pyjwt v2.10.1 was discovered to contain weak encryption. NOTE: this is disputed by the Supplier because the key length is chosen by the application that uses the library (admittedly, library users may benefit from a minimum value and a mechanism for opting in to strict enforcement).

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

## Quick answers

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

**How severe is CVE-2025-45768?** Low severity, with a CVSS score of 3.1, published 31 July 2025.

**Which products and versions are affected?** pyjwt (PyPI) ECOSYSTEM:introduced=0,last_affected=2.10.1.

**Is there a fix for CVE-2025-45768?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2025-45768?** Check whether you run pyjwt (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.

## Affected products

- pyjwt (PyPI) ECOSYSTEM:introduced=0,last_affected=2.10.1

## Identifiers

- CVE-2025-45768
- PYSEC-2025-183

## Related threats

- [PyJWT HS256/384/512 token forgery via empty HMAC key in oct JWK](https://junglewise.ai/threats/pyjwt-hs256-384-512-verify-accepts-empty-hmac-key-via-oct-jwk-pyjwk-a3ba63d2)
- [PyJWT decode() options-dict mutation enabling claim-verification bypass](https://junglewise.ai/threats/cve-2026-103001-pyjwt-decode-reintroduces-options-dict-mutation-enabling-silent)
- [PyJWT OKP algorithm key validation bypass](https://junglewise.ai/threats/cve-2026-102275-pyjwt-is-a-python-implementation-of-json-web-token-standards)
- [PyJWT unhandled ValueError in JWK Set parsing](https://junglewise.ai/threats/cve-2026-102274-pyjwt-is-a-python-implementation-of-json-web-token-standards)
- [PyJWT HMAC key validation bypass in HMACAlgorithm.prepare_key](https://junglewise.ai/threats/cve-2026-102273-pyjwt-is-a-python-implementation-of-json-web-token-standards)
