llamaCVEVulnerability Intelligence
/
BC-JAVA

CVE-2026-71888

CMS AuthenticatedData exposes attacker-inserted authAttrs when digestAlgorithm is absent

Parche disponible
Descargar PNG JSON
CVSS 4.0
8.7
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche7 versiones1.0.13 · 1.86 · 2.0.8 · 2.0.13 …
Exposición48 dDesde la divulgación, 3 oct 2026, 3:36 a. m.
Detección19 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
3 oct 26
5 oct 26
22 oct 26
24 oct 26
21 nov 26
3 oct 26
15 oct 26
27 oct 26
8 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-71888 divulgada · CVSS 8.7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Resumen

In Bouncy Castle for Java before 1.86, the streaming CMS AuthenticatedData parser accepted a message whose digestAlgorithm and authAttrs fields disagreed about whether authenticated attributes were present. RFC 5652 sec. 9.1 pairs the two, requiring that authAttrs be present whenever digestAlgorithm is, and sec. 9.2 makes the MAC cover the DER encoding of authAttrs when they are present and the eContent OCTET STRING directly when they are not. CMSAuthenticatedDataParser has to choose between those two in its constructor, before it can reach authAttrs, which comes later in the SEQUENCE, so it chose on digestAlgorithm alone: for a message with digestAlgorithm absent but authAttrs present it verified the content MAC and then returned the attributes through getAuthAttrs() as though they had been authenticated, when the MAC had never covered them. An attacker able to modify a message in transit could insert an authenticated attribute, such as an RFC 2634 ESSSecurityLabel, into an otherwise valid message while holding neither the key-encryption key nor the content-MAC key, and an application taking an authorization, routing or labelling decision from those attributes would act on attacker-chosen values. The content itself remained MAC-bound. asn1.cms.AuthenticatedData now rejects the mismatched pairing when parsing and CMSAuthenticatedDataParser cross-checks the two fields once authAttrs is read. This is a variant of CVE-2026-59642, which bound the content to the MAC for messages that legitimately carry authAttrs, and which does not address this case. This issue also affects Bouncy Castle for Java LTS before 2.73.13, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series), and bcutil-fips 2.0.8 (2.0.X series) and 2.1.8 (2.1.X series).

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
bcpkix< 1.86
bcpkix-fips≥ 1.0.0 < 1.0.13
bcutil≥ 1.70 < 1.86
bcutil-fips≥ 2.0.0 < 2.0.8
bcpkix-fips≥ 2.0.0 < 2.0.13
bcutil-fips≥ 2.1.0 < 2.1.8
bcpkix-fips≥ 2.1.0 < 2.1.13
bcpkix-lts8on · bcutil-lts8on≥ 2.73.0 < 2.73.13
1.0.0
1.0.13
1.70
1.86
2.0.0
2.0.8
2.0.13
2.1.0
2.1.8
2.1.13
2.73.0
2.73.13
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
BC-JAVA
Corregida 1.86 — —
BC-LTS-JAVA
Corregida 2.73.13 — —
BC-FJA
Corregida 1.0.13, 2.0.8, 2.0.13, 2.1.8, 2.1.13 — —
Versiones corregidas1.0.131.862.0.82.0.132.1.82.1.132.73.13
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071888
Parchehttps://github.com/bcgit/bc-java/commit/dcb683b32b440f1beb1d2276a34930164281fb95

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.