Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-119284 EUVD-2026-113401GHSA-9pg5-8c7x-5hfx

joserfc: Compact JWS size guard allocates attacker-controlled segments before rejection

Published Oct 29, 2026 · Updated Oct 30, 2026 · Assigned by GitHub_M

Description

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.7.6, joserfc compact JWS deserialization calls bytes.split() before enforcing the existing aggregate segment-size limits. When attacker-controlled compact serialization bytes reach deserialize_compact(), the split creates copies of the header, payload, and signature segments before ExceededSizeError rejects them, causing an additional allocation approximately proportional to the supplied token. Requests that exhaust available process memory can therefore cause an availability failure even though signature verification fails. This issue is fixed in version 1.7.6.

Affected products

VendorProductAffectedFixed
authlib joserfc < 1.7.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 joserfc 1.7.7-1 —
Debian 13 joserfc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 joserfc No fix yet —
Ubuntu 26.04 LTS joserfc No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling open-webui 0.13.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI joserfc < 1.7.6 1.7.6 GHSA-9pg5-8c7x-5hfx

References