Skip to content
Noroxi
CVE-2016-1000338· NVD / CVE Program· CNA mitre

In Bouncy Castle JCE Provider version 1.55 and earlier the DSA does not fully validate ASN.1 encoding of signature on verification.

In Bouncy Castle JCE Provider version 1.55 and earlier the DSA 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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Jun 1, 2018
Updated
Jun 16, 2026
EPSS
1.9% · 78th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.9%

Affected systems

VendorProduct
bouncycastlelegion-of-the-bouncy-castle-java-crytography-api
redhatsatellite
redhatsatellite capsule
canonicalubuntu linux
netapp7-mode transition tool

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • bouncycastle legion-of-the-bouncy-castle-java-crytography-api1.38 and later · before 1.56
  • canonical ubuntu linux14.04
  • netapp 7-mode transition toolall versions
  • redhat satellite6.4
  • redhat satellite capsule6.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12bouncycastlebefore 1.56-11.56-1
Debian:8bouncycastlebefore 1.49+dfsg-3+deb8u31.49+dfsg-3+deb8u3
Mavenorg.bouncycastle:bcprov-jdk14from 1.38 · before 1.561.56
Mavenorg.bouncycastle:bcprov-jdk15from 1.38 · before 1.561.56
Mavenorg.bouncycastle:bcprov-jdk15onfrom 1.38 · before 1.561.56
openSUSE:Tumbleweedbouncycastlebefore 1.68-3.21.68-3.2
Red Hat:satellite_capsule:6.4::el7ansiblerole-insights-clientbefore 0:1.5-1.el7sat0:1.5-1.el7sat
Red Hat:satellite_capsule:6.4::el7createrepo_cbefore 0:0.7.4-1.el7sat0:0.7.4-1.el7sat
Red Hat:satellite_capsule:6.4::el7createrepo_c-debuginfobefore 0:0.7.4-1.el7sat0:0.7.4-1.el7sat
Red Hat:satellite_capsule:6.4::el7createrepo_c-libsbefore 0:0.7.4-1.el7sat0:0.7.4-1.el7sat
Red Hat:satellite_capsule:6.4::el7foremanbefore 0:1.18.0.37-1.el7sat0:1.18.0.37-1.el7sat
Red Hat:satellite_capsule:6.4::el7foreman-bootloaders-redhatbefore 0:201801241201-3.el7sat0:201801241201-3.el7sat
Red Hat:satellite_capsule:6.4::el7foreman-bootloaders-redhat-tftpbootbefore 0:201801241201-3.el7sat0:201801241201-3.el7sat
Red Hat:satellite_capsule:6.4::el7foreman-debugbefore 0:1.18.0.37-1.el7sat0:1.18.0.37-1.el7sat
Red Hat:satellite_capsule:6.4::el7foreman-installerbefore 1:1.18.0.2-1.el7sat1:1.18.0.2-1.el7sat
Red Hat:satellite_capsule:6.4::el7foreman-installer-katellobefore 0:3.7.0.10-1.el7sat0:3.7.0.10-1.el7sat
Red Hat:satellite_capsule:6.4::el7foreman-proxybefore 0:1.18.0.1-1.el7sat0:1.18.0.1-1.el7sat
Red Hat:satellite_capsule:6.4::el7foreman-proxy-contentbefore 0:3.7.0-8.el7sat0:3.7.0-8.el7sat
Red Hat:satellite_capsule:6.4::el7foreman-selinuxbefore 0:1.18.0.1-1.el7sat0:1.18.0.1-1.el7sat
Red Hat:satellite_capsule:6.4::el7goferbefore 0:2.12.1-1.el7sat0:2.12.1-1.el7sat
Red Hat:satellite_capsule:6.4::el7hfsplus-toolsbefore 0:332.14-12.el70:332.14-12.el7
Red Hat:satellite_capsule:6.4::el7hfsplus-tools-debuginfobefore 0:332.14-12.el70:332.14-12.el7
Red Hat:satellite_capsule:6.4::el7katellobefore 0:3.7.0-8.el7sat0:3.7.0-8.el7sat
Red Hat:satellite_capsule:6.4::el7katello-certs-toolsbefore 0:2.4.0-2.el7sat0:2.4.0-2.el7sat

+96

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:bouncycastle1.56-1 · Debian:12Package registry (OSV)
Maven:org.bouncycastle:bcprov-jdk141.56Package registry (OSV)
Maven:org.bouncycastle:bcprov-jdk151.56Package registry (OSV)
Maven:org.bouncycastle:bcprov-jdk15on1.56Package registry (OSV)
opensuse:bouncycastle1.68-3.2 · openSUSE:TumbleweedPackage registry (OSV)
red hat:ansiblerole-insights-client0:1.5-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:createrepo_c0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:createrepo_c-debuginfo0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:createrepo_c-libs0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:foreman0:1.18.0.37-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:foreman-bootloaders-redhat0:201801241201-3.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:foreman-bootloaders-redhat-tftpboot0:201801241201-3.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:foreman-debug0:1.18.0.37-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:foreman-installer1:1.18.0.2-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:foreman-installer-katello0:3.7.0.10-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:foreman-proxy0:1.18.0.1-1.el7sat · Red Hat:satellite_capsule:6.4::el7Package registry (OSV)
red hat:SOAPpy0:0.11.6-17.el7 · Red Hat:satellite_capsule:6.4::el7Package 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.

EPSS, last 120 days

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.

Finders, 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

CVSS vector

CVSS:3.1/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.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const claims = jwt.verify(token, publicKey);

Fixed

ts
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.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; 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

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records