cve.bz

CVE-2016-1000338

7.5 highEPSS 1.8%Fix available

High (7.5). EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcprov-jdk14 1.56.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-1000338 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-1000338?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-1000338?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-1000338 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
bouncycastle:legion-of-the-bouncy-castle-java-crytography-apifrom 1.38 before 1.56
redhat:satellite6.4
redhat:satellite_capsule6.4
canonical:ubuntu_linux14.04

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4vhj-98r6-424hMavenorg.bouncycastle:bcprov-jdk14>=1.38 <1.561.56
GHSA-4vhj-98r6-424hMavenorg.bouncycastle:bcprov-jdk15>=1.38 <1.561.56
GHSA-4vhj-98r6-424hMavenorg.bouncycastle:bcprov-jdk15on>=1.38 <1.561.56

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8bouncycastle1.49+dfsg-3+deb8u3DLA-1418-1
Debian12, 13, 14bouncycastle1.56-1DEBIAN-CVE-2016-1000338
Ubuntu14.04:LTSbouncycastle1.49+dfsg-2ubuntu0.1UBUNTU-CVE-2016-1000338 USN-3727-1
UbuntuPro:16.04:LTSbouncycastleno fix listedUBUNTU-CVE-2016-1000338
Red Hatsatellite:6.4::el7foreman, foreman-cli, foreman-ec2 and 11 more0:1.18.0.37-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7pcp-mmvstatsd0:0.4-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7qpid-cpp, qpid-qmf, qpid-tools and 6 more0:1.36.0-19.el7RHSA-2018:2927
Red Hatsatellite:6.4::el7rubygem-foreman_scap_client0:0.3.0-3.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7rubygem-kafo_parsers, tfm-rubygem-hammer_cli_foreman_openscap0:0.1.6-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7rubygem-smart_proxy_dynflow, tfm-rubygem-get_process_mem, tfm-rubygem-smart_proxy_dynflow_core0:0.2.1-2.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7tfm-ror51-rubygem-crass0:1.0.2-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7tfm-ror51-rubygem-erubi0:1.7.0-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7tfm-ror51-rubygem-globalid0:0.4.1-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7tfm-ror51-rubygem-i18n0:0.9.1-2.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7tfm-ror51-rubygem-method_source0:0.9.0-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7tfm-ror51-rubygem-mini_mime, tfm-rubygem-logging-journald, tfm-rubygem-record_tag_helper0:1.0.0-1.el7satRHSA-2018:2927
188 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedbouncycastle1.68-3.2openSUSE-SU-2024:10661-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of bouncycastle as shipped with Red Hat Subscription Asset Manager 1.x. Red Hat Product Security has rated this issue as having a security impact of Moderate. No update is planned for this product at this time. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

ProductPackageStateAdvisory
Red Hat Fuse 7bouncycastleFixed 2018-09-11RHSA-2018:2669
Red Hat Satellite 6.4 for RHEL 7ansiblerole-insights-client-0:1.5-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7candlepin-0:2.4.8-1.el7Fixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7createrepo_c-0:0.7.4-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7foreman-0:1.18.0.37-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7foreman-bootloaders-redhat-0:201801241201-3.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7foreman-installer-1:1.18.0.2-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7foreman-proxy-0:1.18.0.1-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7foreman-selinux-0:1.18.0.1-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7gofer-0:2.12.1-1.el7satFixed 2018-10-16RHSA-2018:2927
JBoss Developer Studio 11bouncycastleNot affected
Red Hat JBoss Data Grid 7bouncycastleNot affected
Red Hat JBoss Data Virtualization 6bouncycastleOut of support scope
Red Hat JBoss Enterprise Application Platform 7bouncycastleNot affected
Red Hat JBoss Fuse 6bouncycastleWill not fix
Red Hat JBoss Fuse Integration Service 2bouncycastleNot affected
Red Hat OpenShift Application RuntimesbouncycastleNot affected
Red Hat Single Sign-On 7bouncycastleNot affected
Red Hat Software Collectionsrh-eclipse46-bouncycastleWill not fix
Red Hat Subscription Asset ManagerbouncycastleNot affected
309 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-1000338.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON