Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-54431 EUVD-2026-41277GHSA-3pf6-g4x4-jm46

Improper Data Validation in liboauth2

Published Jul 2, 2026 · Updated Jul 2, 2026 · Assigned by CERT-PL

Description

In liboauth2 the Demonstrating Proof-of-Possession (DPoP) verifier accepts a proof whose JSON Web Key (jwk) header contains private key material. RFC 9449 section 4.3 step 7 requires the verifier to reject such a proof but oauth2_token_verify() function returns success for a malformed DPoP proof that embeds the private Elliptic Curve (EC) key in the header.

This issue was fixed in version 2.3.0

Affected products

VendorProductAffectedFixed
OpenIDC liboauth2 < 2.3.0 2.3.0

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 liboauth2 2.3.0-1 —
Debian 13 liboauth2 No fix yet —
Debian 12 liboauth2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 liboauth2 No fix yet —
Ubuntu 26.04 LTS liboauth2 No fix yet —
Ubuntu 25.10 liboauth2 No fix yet —
Ubuntu 24.04 LTS liboauth2 No fix yet —
Ubuntu 22.04 LTS liboauth2 No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 liboauth No fix yet —

References