CVEfocus › CVE database › CVE-2018-1000613

CVE-2018-1000613

CVSS 9.8 CriticalEPSS 4.8% (higher than 92% of CVEs)Published 2018-07-09Updated 2024-11-14Assigner: mitre

Legion 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 Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in XMSS/XMSS^MT private key deserialization that can result in Deserializing an XMSS/XMSS^MT private key can result in the execution of unexpected code. This attack appear to be exploitable via A handcrafted private key can include references to unexpected classes which will be picked up from the class path for the executing application. This vulnerability appears to have been fixed in 1.60 and later.

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04bouncycastleNot affected
vulnerable_code_not_present
Ubuntu 25.10bouncycastleNot affected
vulnerable_code_not_present
Ubuntu 18.04bouncycastleFix pendingUBUNTU-CVE-2018-1000613
Ubuntu 16.04bouncycastleNot affected
vulnerable_code_not_present
Ubuntu 14.04bouncycastleNot affected
vulnerable_code_not_present
Debian 14bouncycastleFixed1.60-1DEBIAN-CVE-2018-1000613
Debian 13bouncycastleFixed1.60-1DEBIAN-CVE-2018-1000613
Debian 12bouncycastleFixed1.60-1DEBIAN-CVE-2018-1000613
Maven libraryorg.bouncycastle:bcprov-jdk15onFixed1.60GHSA-4446-656p-f54g

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.