---
title: "CVE-2026-49852"
canonical_url: "https://pkgseek.com/security/CVE-2026-49852"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "unknown"
---

# CVE-2026-49852

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.6.8, joserfc.jwt.decode accepts attacker-forged HMAC-signed tokens when the caller-supplied verification key is the empty string or None, because HMACAlgorithm.sign and HMACAlgorithm.verify in src/joserfc/_rfc7518/jws_algs.py pass the output of OctKey.get_op_key(...) to hmac.new(...) and OctKey.import_key in src/joserfc/_rfc7518/oct_key.py only emits a SecurityWarning for keys shorter than 14 bytes without rejecting zero-length input. This issue is fixed in ver…

CVE-2026-49852 严重级别为 未知，共索引 1 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: 未知
- **受影响构建数**: 1
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-joserfc | 1.1.0-1 | — |
