CVE-2026-65632
La biblioteca jose acepta firmas JWS ECDSA (ES256, ES256K, ES384 y ES512) de longitud no canónica. Al verificar una firma ECDSA, jose_jwk_kty_ec:verify/4 en src/jwk/jose_jwk_kty_ec.erl divide la firma en bruto por la mitad según su longitud real en bytes (split_binary(Signature, byte_size(Signature) div 2)) en lugar de exigir la longitud fija requerida por la RFC 7518 §3.4, y después decodifica cada mitad con crypto:bytes_to_integer/1, que ignora los bytes cero iniciales.
En consecuencia, un atacante que posea un token válido puede anteponer bytes cero iniciales a las mitades R y S para generar firmas más largas que siguen dividiéndose en partes iguales y se decodifican en el mismo par (r, s); así, muchas cadenas de bytes de firma distintas se verifican contra la misma clave (maleabilidad de firmas).
Leer descripción completaMostrar menos
Esto no permite falsificar nuevas cargas útiles ni suplantar al firmante, porque los valores (r, s) subyacentes no cambian. Sin embargo, sí anula cualquier control de seguridad que asuma que un token o su firma es único, como la revocación de tokens basada en hash, las cachés de repetición o idempotencia y la lógica de deduplicación.
Este problema afecta a jose: desde la 1.0.0 hasta la 1.11.13 (sin incluirla).
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1068Exploitation for Privilege Escalationprivilege escalation55 % - Impacto principal
T1553Subvert Trust Controlsdefense impairment60 %
El vector CVSS AV:L/PR:N/UI:N dicta T1068; la maleabilidad ECDSA por ceros a la izquierda (CWE-347) permite burlar controles de revocación o replay sin forjar firmas.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Registro NVD
- Estado en NVD
- Aplazada
- Publicada
- 26 oct 2026
- Última modificación
- 2 nov 2026
- Vector CVSS
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Debilidad (CWE)
- CWE-347
Referencias
- Parchegithub.com/potatosalad/erlang-jose/commit/72ce1866622b9329347dc…
- Parchegithub.com/potatosalad/erlang-jose/commit/a7746ecd4950f85a39313…
- Referenciacna.erlef.org/cves/CVE-2026-65632.html
- Referenciagithub.com/potatosalad/erlang-jose/security/advisories/GHSA-44h…
- Referenciaosv.dev/vulnerability/EEF-CVE-2026-65632
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-65632",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-65632",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-02T21:30:31.772807Z"
}
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 5.1,
"Automatable": "NOT_DEFINED",
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "NONE",
"availabilityRequirement": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"confidentialityRequirement": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED"
}
}
]
},
"affected": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"affectedData": [
{
"cpes": [
"cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/potatosalad/erlang-jose",
"vendor": "potatosalad",
"modules": [
"jose_jwk_kty_ec"
],
"product": "jose",
"versions": [
{
"status": "affected",
"version": "1.0.0",
"lessThan": "1.11.13",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/jose",
"packageName": "jose",
"programFiles": [
"src/jwk/jose_jwk_kty_ec.erl"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "jose_jwk_kty_ec:verify/4"
}
]
},
{
"cpes": [
"cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/potatosalad/erlang-jose",
"vendor": "potatosalad",
"modules": [
"jose_jwk_kty_ec"
],
"product": "jose",
"versions": [
{
"status": "affected",
"version": "a7746ecd4950f85a393136e449a91dac62b5c429",
"lessThan": "72ce1866622b9329347dc52a94173ac0317bc9cf",
"versionType": "git"
}
],
"packageURL": "pkg:github/potatosalad/erlang-jose",
"packageName": "potatosalad/erlang-jose",
"programFiles": [
"src/jwk/jose_jwk_kty_ec.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "jose_jwk_kty_ec:verify/4"
}
]
}
]
}
],
"published": "2026-10-26T20:17:59.170",
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-65632.html",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/potatosalad/erlang-jose/commit/72ce1866622b9329347dc52a94173ac0317bc9cf",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/potatosalad/erlang-jose/commit/a7746ecd4950f85a393136e449a91dac62b5c429",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-44hw-rpw9-mwg4",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-65632",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-44hw-rpw9-mwg4",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"description": [
{
"lang": "en",
"value": "CWE-347"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The jose library accepts ECDSA (ES256, ES256K, ES384, and ES512) JWS signatures of a non-canonical length. When verifying an ECDSA signature, jose_jwk_kty_ec:verify/4 in src/jwk/jose_jwk_kty_ec.erl splits the raw signature in half by its actual byte length (split_binary(Signature, byte_size(Signature) div 2)) instead of enforcing the fixed length required by RFC 7518 §3.4, and then decodes each half with crypto:bytes_to_integer/1, which ignores leading zero bytes.\n\nAs a result, an attacker who holds one valid token can prepend leading zero bytes to each of the R and S halves to produce longer signatures that still split evenly and decode to the same (r, s) pair, so many distinct signature byte strings all verify against the same key (signature malleability). This does not allow forging new payloads or impersonating a signer, because the underlying (r, s) values are unchanged. It does defeat any security control that assumes a valid token or its signature is unique, such as token-revocation-by-hash, replay or idempotency caches, and deduplication logic.\n\nThis issue affects jose: from 1.0.0 before 1.11.13."
}
],
"lastModified": "2026-11-02T22:17:22.930",
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}