UBUNTU-CVE-2026-53938

Source
https://ubuntu.com/security/CVE-2026-53938
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53938.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-53938
Upstream
Published
2026-09-09T00:17:00Z
Modified
2026-09-16T14:01:42Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4.1-3ubuntu1
0.5.1+dfsg1-1
0.5.1+dfsg1-2
0.5.1+dfsg1-2build1
0.6.0+dfsg1-1
0.6.0+dfsg1-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libcjose0",
            "binary_version":  "0.6.0+dfsg1-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53938.json"

Ubuntu:20.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.6.1+dfsg1-1
0.6.1+dfsg1-1ubuntu0.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libcjose0",
            "binary_version":  "0.6.1+dfsg1-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53938.json"

Ubuntu:22.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.6.1+dfsg1-1
0.6.1+dfsg1-3
0.6.1+dfsg1-3ubuntu1
0.6.1+dfsg1-3ubuntu1.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libcjose0",
            "binary_version":  "0.6.1+dfsg1-3ubuntu1.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53938.json"

Ubuntu:24.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.6.2.2-1
0.6.2.2-1build1
0.6.2.2-1build2
0.6.2.2-1build3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libcjose0",
            "binary_version":  "0.6.2.2-1build3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53938.json"

Ubuntu:26.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.6.2.3-1
0.6.2.4-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libcjose0",
            "binary_version":  "0.6.2.4-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53938.json"