{"id":"USN-9369-1","summary":"cjose vulnerabilities","details":"It was discovered that JOSE for C/C++ did not validate the length of the\nencrypted key when decrypting JWE objects that used AES Key Wrap key\nmanagement, leading to a heap buffer overflow. A remote attacker could\npossibly use this issue to cause applications using JOSE for C/C++ to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2026-53938)\n\nIt was discovered that JOSE for C/C++ used an all-zero content encryption\nkey instead of a randomly generated one when encrypting JWE objects with\nAES-CBC-HMAC content encryption. An attacker could possibly use this issue\nto recover the plaintext of the encrypted data or forge encrypted data.\nThis issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04\nLTS, and Ubuntu 26.04 LTS. (CVE-2026-53939)","modified":"2026-12-03T20:59:16.978716359Z","published":"2026-12-02T04:11:05Z","related":["UBUNTU-CVE-2026-53938","UBUNTU-CVE-2026-53939"],"upstream":["CVE-2026-53938","CVE-2026-53939","UBUNTU-CVE-2026-53938","UBUNTU-CVE-2026-53939"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9369-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-53938"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-53939"}],"affected":[{"package":{"name":"cjose","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/cjose?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0+dfsg1-1ubuntu0.1~esm2"}]}],"versions":["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~esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","source":"CNA","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-53938"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9369-1.json"}},{"package":{"name":"cjose","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/cjose?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1+dfsg1-1ubuntu0.1+esm1"}]}],"versions":["0.6.1+dfsg1-1","0.6.1+dfsg1-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.1+dfsg1-1ubuntu0.1+esm1","binary_name":"libcjose0"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2026-53938","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2026-53939","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9369-1.json"}},{"package":{"name":"cjose","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/cjose?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1+dfsg1-3ubuntu1.1+esm1"}]}],"versions":["0.6.1+dfsg1-1","0.6.1+dfsg1-3","0.6.1+dfsg1-3ubuntu1","0.6.1+dfsg1-3ubuntu1.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libcjose0","binary_version":"0.6.1+dfsg1-3ubuntu1.1+esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-53938"},{"id":"CVE-2026-53939","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9369-1.json"}},{"package":{"name":"cjose","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/cjose?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2.2-1ubuntu0.1~esm1"}]}],"versions":["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-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:24.04:LTS","cves":[{"severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-53938"},{"id":"CVE-2026-53939","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9369-1.json"}},{"package":{"name":"cjose","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/cjose?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2.4-1ubuntu0.1~esm1"}]}],"versions":["0.6.2.3-1","0.6.2.4-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libcjose0","binary_version":"0.6.2.4-1ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-53938"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-53939"}],"ecosystem":"Ubuntu:Pro:26.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9369-1.json"}}],"schema_version":"1.9.2"}