---
schema_version: '1.0'
id: security-20260812-d37eef
title: CVE-2025-45768 — pyjwt
url: https://osv.dev/vulnerability/PYSEC-2025-183
url_hash: d37eef1047c2170131a48746798031f1ecbb63a70744895fd4d0144afffacc1b
canonical_url: https://osv.dev/vulnerability/PYSEC-2025-183
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2025-45768
- PYSEC-2025-183
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
- pyjwt
- PyPI
lang: en
published_at: '2025-07-31T21:15:27Z'
fetched_at: '2026-08-12T16:00:04.740004Z'
updated_at: '2026-08-22T14:49:09Z'
status: published
content_hash: 075ae302c7f20a7f4f3b7cb993f5db06813bb2f8f9564820b49d35d738f660f7
content_changed_at: '2026-08-22T13:15:21.884090Z'
license_note: full
summary: '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 enforcemen'
summary_source: rss
summary_en: '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 enforcemen'
summary_omitted_reason: null
redistribution: true
keywords_en:
- CVE
- CVE-2025-45768
- library vulnerability
- pyjwt
- PyPI
- PYSEC-2025-183
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
- software security
entities_en:
- name: CVE
  type: data
- name: PyPI
  type: artifact
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE
  type: data
- name: PyPI
  type: artifact
related_auto:
- name: Portal
  type: organization
  weight: 1.0
- name: Hugging Face
  type: organization
  weight: 1.0
computed_at: '2026-08-22T14:49:06Z'
---

# CVE-2025-45768 — pyjwt

## TL;DR
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 enforcemen

## Key Points
- cve / CVE-2025-45768 / PYSEC-2025-183 / severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H / pyjwt / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
**Advisory:** PYSEC-2025-183 (CVE-2025-45768)

**Details:**
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).

**References:**
- https://github.com/jpadilla
- https://gist.github.com/ZupeiNie/6f65e564f2067b876321d3dfdbb76569
- https://github.com/jpadilla/pyjwt

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2025-183_

## Source
元記事: [CVE-2025-45768 — pyjwt](https://osv.dev/vulnerability/PYSEC-2025-183) — published 2025-07-31T21:15:27Z
