In the Bouncy Castle JCE Provider version 1.55 and earlier ECDSA does not fully validate ASN.1 encoding of signature on verification.
In the Bouncy Castle JCE Provider version 1.55 and earlier ECDSA does not fully validate ASN.1 encoding of signature on verification. It is possible to inject extra elements in the sequence making up the signature and still have it validate, which in some cases may allow the introduction of 'invisible' data into a signed structure.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Jun 4, 2018
- Updated
- Jun 16, 2026
- EPSS
- 1.8% · 78th percentile
- CWE
- CWE-347
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| bouncycastle | bc-java | cpe:2.3:a:bouncycastle:bc-java |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- bouncycastle bc-javaup to 1.55 inclusive
- debian debian linux8.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | bouncycastle | before 1.56-1 | 1.56-1 |
| Debian:8 | bouncycastle | before 1.49+dfsg-3+deb8u3 | 1.49+dfsg-3+deb8u3 |
| Maven | org.bouncycastle:bcprov-jdk14 | before 1.56 | 1.56 |
| Maven | org.bouncycastle:bcprov-jdk15 | before 1.56 | 1.56 |
| Maven | org.bouncycastle:bcprov-jdk15on | before 1.56 | 1.56 |
| openSUSE:Tumbleweed | bouncycastle | before 1.68-3.2 | 1.68-3.2 |
| Red Hat:satellite_capsule:6.4::el7 | ansiblerole-insights-client | before 0:1.5-1.el7sat | 0:1.5-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | createrepo_c | before 0:0.7.4-1.el7sat | 0:0.7.4-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | createrepo_c-debuginfo | before 0:0.7.4-1.el7sat | 0:0.7.4-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | createrepo_c-libs | before 0:0.7.4-1.el7sat | 0:0.7.4-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman | before 0:1.18.0.37-1.el7sat | 0:1.18.0.37-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-bootloaders-redhat | before 0:201801241201-3.el7sat | 0:201801241201-3.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-bootloaders-redhat-tftpboot | before 0:201801241201-3.el7sat | 0:201801241201-3.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-debug | before 0:1.18.0.37-1.el7sat | 0:1.18.0.37-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-installer | before 1:1.18.0.2-1.el7sat | 1:1.18.0.2-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-installer-katello | before 0:3.7.0.10-1.el7sat | 0:3.7.0.10-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-proxy | before 0:1.18.0.1-1.el7sat | 0:1.18.0.1-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-proxy-content | before 0:3.7.0-8.el7sat | 0:3.7.0-8.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-selinux | before 0:1.18.0.1-1.el7sat | 0:1.18.0.1-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | gofer | before 0:2.12.1-1.el7sat | 0:2.12.1-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | hfsplus-tools | before 0:332.14-12.el7 | 0:332.14-12.el7 |
| Red Hat:satellite_capsule:6.4::el7 | hfsplus-tools-debuginfo | before 0:332.14-12.el7 | 0:332.14-12.el7 |
| Red Hat:satellite_capsule:6.4::el7 | katello | before 0:3.7.0-8.el7sat | 0:3.7.0-8.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | katello-certs-tools | before 0:2.4.0-2.el7sat | 0:2.4.0-2.el7sat |
+96
Same product
bouncycastle: all recordsOther highest-scoring records for the same primary product.
- CVE-2007-6721The Legion of the Bouncy Castle Java Cryptography API before release 1.38, as used in Crypto Provider Package before 1.36, has unknown impac41Plan
- CVE-2018-1000613Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to but not including 1.60 contains a CWE-470: Use of 40Plan
- CVE-2026-58062Stapled OCSP response accepted without binding to the checked certificate37Monitor
- CVE-2026-8763Name Constraints bypass via trailing dot in rfc822Name and URI37Monitor
- CVE-2026-59650MTI/A0 DH agreement exponentiates unvalidated peer value37Monitor
- CVE-2026-59638JSSE hostname verifier CN-fallback enabled by default despite documented opt-in37Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:bouncycastle | 1.56-1 · Debian:12 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk14 | 1.56 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk15 | 1.56 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk15on | 1.56 | Package registry (OSV) |
| opensuse:bouncycastle | 1.68-3.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:ansiblerole-insights-client | 0:1.5-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:createrepo_c | 0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:createrepo_c-debuginfo | 0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:createrepo_c-libs | 0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman | 0:1.18.0.37-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-bootloaders-redhat | 0:201801241201-3.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-bootloaders-redhat-tftpboot | 0:201801241201-3.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-debug | 0:1.18.0.37-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-installer | 1:1.18.0.2-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-installer-katello | 0:3.7.0.10-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-proxy | 0:1.18.0.1-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:SOAPpy | 0:0.11.6-17.el7 · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-347 · Improper Verification of Cryptographic SignatureCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Root cause
The verifier takes the algorithm to verify with from the token’s own header. Untrusted data ends up deciding its own verification rule.
The bug in code
The whole CWE-347 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const claims = jwt.verify(token, publicKey);Fixed
const claims = jwt.verify(token, publicKey, { algorithms: ["RS256"], issuer: "https://id.example.com", audience: "portal",});Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- access.redhat.com/errata/RHSA-2018:2669
- access.redhat.com/errata/RHSA-2018:2927
- github.com/bcgit/bc-java/commit/843c2e60f67d71faf81d236f448ebbe56c62c647#diff-25c3c78db788365f36839b3f2d3016b9
- lists.debian.org/debian-lts-announce/2018/07/msg00009.html
- security.netapp.com/advisory/ntap-20181127-0004/
- usn.ubuntu.com/3727-1/
- www.oracle.com/security-alerts/cpuoct2020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.