liboauth2 — security advisory
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
- Products
- liboauth2
- Affected versions
- 1.4.0.1-1, 1.4.3.2-1, 1.4.3.2-2, 1.4.3.2-3, 1.4.3.2-3ubuntu1, 1.4.3.2-4, 1.4.4-1, 1.5.1-3, 1.5.2-1, 1.6.0-1, 1.6.0-1build1, 1.6.0-1build3, 1.6.0-1build4, 2.1.0-1, 2.1.0-2, 2.1.1-1, 2.2.0-1, 2.2.0-2ubuntu1, 2.4.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54431
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:46 UTC · Revision 1
Source evidence
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
osv:UBUNTU-CVE-2026-54431
liboauth2
Fixed versions: Not specified
liboauth2
Fixed versions: Not specified
liboauth2
Fixed versions: Not specified
liboauth2
Fixed versions: Not specified
liboauth2
Fixed versions: Not specified
Complete source record
{
"id": "f3c75126e2d24725febe4df9abbec251dc88d8cdd782b91dec3c752d7a827522",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54431",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-54431",
"summary": "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",
"evidence": "osv:UBUNTU-CVE-2026-54431",
"products": [
{
"name": {
"value": "liboauth2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.0.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.4.3.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.4.3.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.4.3.2-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.4.3.2-3ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "1.4.3.2-4",
"evidence": "/affected/0/versions"
},
{
"value": "1.4.4-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "liboauth2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.5.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.0-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.0-1build3",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.0-1build4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "liboauth2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.1.0-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "liboauth2",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.0-2ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2.4.0-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "liboauth2",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.0-2",
"evidence": "/affected/4/versions"
},
{
"value": "2.1.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.2.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.2.0-2ubuntu1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-54431",
"aliases": [
"UBUNTU-CVE-2026-54431"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "liboauth2",
"purl": "pkg:deb/ubuntu/liboauth2?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.4.0.1-1",
"1.4.3.2-1",
"1.4.3.2-2",
"1.4.3.2-3",
"1.4.3.2-3ubuntu1",
"1.4.3.2-4",
"1.4.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54431.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liboauth2-0",
"binary_version": "1.4.4-1"
},
{
"binary_name": "liboauth2-apache0",
"binary_version": "1.4.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "liboauth2",
"purl": "pkg:deb/ubuntu/liboauth2?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.5.1-3",
"1.5.2-1",
"1.6.0-1",
"1.6.0-1build1",
"1.6.0-1build3",
"1.6.0-1build4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54431.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liboauth2-0",
"binary_version": "1.6.0-1build4"
},
{
"binary_name": "liboauth2-apache0",
"binary_version": "1.6.0-1build4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "liboauth2",
"purl": "pkg:deb/ubuntu/liboauth2?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.1.0-1",
"2.1.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54431.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liboauth2-0",
"binary_version": "2.1.0-2"
},
{
"binary_name": "liboauth2-apache0",
"binary_version": "2.1.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "liboauth2",
"purl": "pkg:deb/ubuntu/liboauth2?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.2.0-2ubuntu1",
"2.4.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54431.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liboauth2-1",
"binary_version": "2.4.0-1"
},
{
"binary_name": "liboauth2-apache1",
"binary_version": "2.4.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "liboauth2",
"purl": "pkg:deb/ubuntu/liboauth2?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.1.0-2",
"2.1.1-1",
"2.2.0-1",
"2.2.0-2ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54431.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liboauth2-1",
"binary_version": "2.2.0-2ubuntu1"
},
{
"binary_name": "liboauth2-apache1",
"binary_version": "2.2.0-2ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:59:06.459516642Z",
"provider": "osv",
"upstream": [
"CVE-2026-54431"
],
"references": [
"https://ubuntu.com/security/CVE-2026-54431",
"https://www.cve.org/CVERecord?id=CVE-2026-54431",
"https://cert.pl/en/posts/2026/07/CVE-2026-54430",
"https://github.com/OpenIDC/liboauth2",
"https://github.com/OpenIDC/liboauth2/commit/c0b57152ed6a0af33aeb04a60bd7f5bff5ab8800"
]
},
"related_cves": [
{
"value": "CVE-2026-54431",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359300,
"published_at": "2026-07-02T11:16:00+00:00"
}