CVEfocus › CVE database › CVE-2026-58059

CVE-2026-58059Quadratic-time escaping when stringifying X.500 distinguished names

CVSS 8.7 HighEPSS 0.5% (higher than 35% of CVEs)Published 2026-08-03Updated 2026-08-03Assigner: bcorg

In Bouncy Castle for Java before 1.85, Quadratic-time escaping when stringifying X.500 distinguished names. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).

CWE-407

What to do

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

Debian, Ubuntu have 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

1Fixed
8Fix pending
1Under investigation
8Not 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.10bouncycastleFix pendingUBUNTU-CVE-2026-58059
Ubuntu 26.04bouncycastleUnder investigationUBUNTU-CVE-2026-58059
Ubuntu 24.04bouncycastleFix pendingUBUNTU-CVE-2026-58059
Ubuntu 22.04bouncycastleFix pendingUBUNTU-CVE-2026-58059
Ubuntu 20.04bouncycastleFix pendingUBUNTU-CVE-2026-58059
Ubuntu 18.04bouncycastleFix pendingUBUNTU-CVE-2026-58059
Ubuntu 16.04bouncycastleFix pendingUBUNTU-CVE-2026-58059
Debian 14bouncycastleFixed1.86-1DEBIAN-CVE-2026-58059
Debian 13bouncycastleFix pendingDEBIAN-CVE-2026-58059
Debian 12bouncycastleFix pendingDEBIAN-CVE-2026-58059
Red Hat Enterprise Linux 9jmcNot affected
Red Hat Enterprise Linux 9pki-resteasy-clientNot affected
Red Hat Enterprise Linux 9pki-resteasy-coreNot affected
Red Hat Enterprise Linux 9pki-resteasy-jackson2-providerNot affected
Red Hat Enterprise Linux 9pki-resteasy-servlet-initializerNot affected
Red Hat Enterprise Linux 9resteasyNot affected
Red Hat Enterprise Linux 8resteasyNot affected
Red Hat Enterprise Linux 8resteasy-javadocNot affected

What the vendor says

As published in the CVE record by bcorg, 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.