CVE-2026-71888 CMS AuthenticatedData exposes attacker-inserted authAttrs when digestAlgorithm is absent
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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).
Upgrade path
29 packages: 7 fixed, 22 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/bouncycastle(Debian 12) | = 1.72-2; = 1.77-1; = 1.80-1; = 1.80-2 +3 more | No fix listed | No fix yet |
| debian/bouncycastle(Debian 13) | = 1.80-3; = 1.86-1; All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/de-supported-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/devspaces/jetbrains-ide-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/devspaces/openvsx-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/devspaces/pluginregistry-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel8:1792044326(Red Hat ocp_tools 4.12 el8) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel8:1792044327(Red Hat ocp_tools 4.13 el8) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel8:1792044382(Red Hat ocp_tools 4.14 el8) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel8:1792044386(Red Hat ocp_tools 4.15 el8) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel9:1792040081(Red Hat ocp_tools 4.20 el9) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel9:1792040096(Red Hat ocp_tools 4.21 el9) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel9:1792040131(Red Hat ocp_tools 4.17 el9) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel9:1792040287(Red Hat ocp_tools 4.16 el9) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel9:1792040428(Red Hat ocp_tools 4.22 el9) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel9:1792040733(Red Hat ocp_tools 4.19 el9) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel9:1792041514(Red Hat ocp_tools 4.18 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-modelmesh-rhel9:1793340746(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/bouncycastle(Debian 14) | < 1.86-1; = 1.80-3 | 1.86-1 | Fixed |
| org.bouncycastle/bcpkix-fips | >= 1.0.0, < 1.0.13; >= 2.0.0, < 2.0.13; >= 2.1.0, < 2.1.13 | 1.0.13, 2.0.13, 2.1.13 | Fixed |
| org.bouncycastle/bcpkix-jdk18on | < 1.86 | 1.86 | Fixed |
| org.bouncycastle/bcpkix-lts8on | >= 2.73.0, < 2.73.13 | 2.73.13 | Fixed |
| org.bouncycastle/bcutil-fips | >= 2.0.0, < 2.0.8; >= 2.1.0, < 2.1.8 | 2.0.8, 2.1.8 | Fixed |
| org.bouncycastle/bcutil-jdk18on | >= 1.70, < 1.86 | 1.86 | Fixed |
| org.bouncycastle/bcutil-lts8on | >= 2.73.0, < 2.73.13 | 2.73.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle/bcpkix-jdk18on | < 1.86 | 1.86 |
| org.bouncycastle/bcutil-jdk18on | >= 1.70, < 1.86 | 1.86 |
| org.bouncycastle/bcpkix-lts8on | >= 2.73.0, < 2.73.13 | 2.73.13 |
| org.bouncycastle/bcutil-lts8on | >= 2.73.0, < 2.73.13 | 2.73.13 |
| org.bouncycastle/bcpkix-fips | >= 1.0.0, < 1.0.13 | 1.0.13 |
| org.bouncycastle/bcpkix-fips | >= 2.0.0, < 2.0.13 | 2.0.13 |
| org.bouncycastle/bcpkix-fips | >= 2.1.0, < 2.1.13 | 2.1.13 |
| org.bouncycastle/bcutil-fips | >= 2.0.0, < 2.0.8 | 2.0.8 |
| org.bouncycastle/bcutil-fips | >= 2.1.0, < 2.1.8 | 2.1.8 |
| debian/bouncycastle(Debian:12) | All versions | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.72-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.77-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-3 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.86-1 | No fix listed |
| debian/bouncycastle(Debian:13) | All versions | No fix listed |
| debian/bouncycastle(Debian:13) | = 1.80-3 | No fix listed |
| debian/bouncycastle(Debian:13) | = 1.86-1 | No fix listed |
| debian/bouncycastle(Debian:14) | < 1.86-1 | 1.86-1 |
| debian/bouncycastle(Debian:14) | = 1.80-3 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:26.10) | All versions | No fix listed |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/ocp-tools-4/jenkins-rhel8:1792044326(Red Hat:ocp_tools:4.12::el8) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel8:1792044327(Red Hat:ocp_tools:4.13::el8) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel8:1792044382(Red Hat:ocp_tools:4.14::el8) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel8:1792044386(Red Hat:ocp_tools:4.15::el8) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel9:1792040287(Red Hat:ocp_tools:4.16::el9) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel9:1792040131(Red Hat:ocp_tools:4.17::el9) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel9:1792041514(Red Hat:ocp_tools:4.18::el9) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel9:1792040733(Red Hat:ocp_tools:4.19::el9) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel9:1792040081(Red Hat:ocp_tools:4.20::el9) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel9:1792040096(Red Hat:ocp_tools:4.21::el9) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel9:1792040428(Red Hat:ocp_tools:4.22::el9) | All versions | No fix listed |
| redhat/rhoai/odh-modelmesh-rhel9:1793340746(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/de-supported-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/devspaces/jetbrains-ide-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/devspaces/openvsx-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/devspaces/pluginregistry-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
References
- github.com vendor-advisory
- github.com patch
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:88152 patch vendor-advisory
- RHSA-2026:88149 patch vendor-advisory
- RHSA-2026:88151 patch vendor-advisory
- RHSA-2026:88150 patch vendor-advisory
- RHSA-2026:88156 patch vendor-advisory
- RHSA-2026:88159 patch vendor-advisory
- RHSA-2026:88153 patch vendor-advisory
- RHSA-2026:88158 patch vendor-advisory
- RHSA-2026:88157 patch vendor-advisory
- RHSA-2026:88155 patch vendor-advisory
- RHSA-2026:88154 patch vendor-advisory
- Red Hat Bugzilla 2545494 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-71888 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- RHSA-2026:100634 patch vendor-advisory
- ENISA EUVD EUVD-2026-91991 third-party-advisory