DEBIAN-CVE-2026-53938
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). Prior to version 0.6.2.5, cjose's JWE decryption path for the AES Key Wrap key-management algorithms (`alg` = `A128KW`, `A192KW`, `A256KW`) does not validate the length of the attacker-supplied `encrypted_key` (JWE Encrypted Key) before unwrapping it into a fixed-size, heap-allocated Content Encryption Key (CEK) buffer. A remote, unauthenticated attacker who can submit a crafted JWE to an application that decrypts it with an AES-KW symmetric key can trigger an out-of-bounds heap write, corrupting the heap. This leads at minimum to a crash (denial of service) and, depending on the heap layout and allocator, may be leverageable for further memory-corruption impact. `cjose_jwe_import()` / `cjose_jwe_decrypt()` are pre-authentication entry points: they parse and process fully attacker-controlled input. Upgrade to cjose 0.6.2.5 to receive a patch. If upgrading is not immediately possible, reject the AES Key Wrap algorithms (`A128KW`/`A192KW`/`A256KW`) for untrusted JWEs at the application layer.
DEBIAN-CVE-2026-53938
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-53938
cjose
Source reference: /affected/0/package/name
- Affected versions
- 0.6.2.1-1
Source reference:
/affected/0/versions0.6.2.1-1+deb12u1Source reference:
/affected/0/versions0.6.2.2-1Source reference:
/affected/0/versions0.6.2.3-1Source reference:
/affected/0/versions0.6.2.4-1Source reference:
/affected/0/versions0.6.2.7-1Source reference:
/affected/0/versions0.6.2.8-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
cjose
Source reference: /affected/1/package/name
- Affected versions
- 0.6.2.3-1
Source reference:
/affected/1/versions - Fixed versions
- 0.6.2.3-1+deb13u1
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
cjose
Source reference: /affected/2/package/name
- Affected versions
- 0.6.2.3-1
Source reference:
/affected/2/versions0.6.2.4-1Source reference:
/affected/2/versions - Fixed versions
- 0.6.2.7-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cjose",
"purl": "pkg:deb/debian/cjose?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.6.2.1-1",
"0.6.2.1-1+deb12u1",
"0.6.2.2-1",
"0.6.2.3-1",
"0.6.2.4-1",
"0.6.2.7-1",
"0.6.2.8-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-53938.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.2.3-1+deb13u1"
}
]
}
],
"package": {
"name": "cjose",
"purl": "pkg:deb/debian/cjose?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.6.2.3-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-53938.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.2.7-1"
}
]
}
],
"package": {
"name": "cjose",
"purl": "pkg:deb/debian/cjose?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.6.2.3-1",
"0.6.2.4-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-53938.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57807 · Revision 1
- Added to Heist Feed
- Publisher date