Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-59638

Опубликовано: 03 авг. 2026
Источник: redhat
CVSS3: 7.4
EPSS Низкий

Описание

In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by default despite documented opt-in. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).

A flaw was found in Bouncy Castle for Java. The Java Secure Socket Extension (JSSE) hostname verifier incorrectly enables the Common Name (CN) fallback by default, despite it being documented as an opt-in feature. This misconfiguration could allow a remote attacker to bypass proper hostname validation by presenting a specially crafted certificate during a TLS (Transport Layer Security) handshake. As a result, an attacker might be able to impersonate a legitimate server, leading to potential man-in-the-middle attacks and information disclosure.

Отчет

A flaw was found in Bouncy Castle for Java's JSSE provider (bctls). The hostname verifier improperly enables Common Name (CN) fallback by default during TLS certificate validation, contrary to documented opt-in requirements. A remote attacker capable of intercepting TLS traffic could exploit this by presenting a specially crafted certificate with a matching CN, bypassing hostname verification. This allows the attacker to impersonate a trusted server, leading to potential Man-in-the-Middle (MitM) attacks and exposure of sensitive encrypted data.

Меры по смягчению последствий

Explicitly configure the Bouncy Castle JSSE hostname verifier to disable CN fallback programmatically in application initialization code, or restrict TLS connections to trusted endpoints using explicit SAN (Subject Alternative Name) validation parameters.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
OpenShift Developer Tools and ServicesjenkinsNot affected
OpenShift Developer Tools and Servicesjenkins-2-pluginsNot affected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Not affected
Red Hat AMQ Broker 7bcprov-jdk18onNot affected
Red Hat AMQ Clientsbcpg-jdk18onNot affected
Red Hat AMQ Clientsbcprov-jdk15onNot affected
Red Hat AMQ Clientsbcprov-jdk18onNot affected
Red Hat AMQ Clientsbcutil-jdk18onNot affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/de-minimal-rhel9Not affected
Red Hat build of Apache Camel 4 for Quarkus 3bcpg-jdk18onNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-295
https://bugzilla.redhat.com/show_bug.cgi?id=2510201org.bouncycastle/bctls-jdk15on: org.bouncycastle/bctls-fips: Bouncy Castle for Java: Improper hostname validation due to default CN-fallback in JSSE verifier

EPSS

Процентиль: 29%
0.00345
Низкий

7.4 High

CVSS3

Связанные уязвимости

CVSS3: 6.5
ubuntu
4 месяца назад

In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by default despite documented opt-in. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).

CVSS3: 6.5
nvd
4 месяца назад

In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by default despite documented opt-in. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).

CVSS3: 6.5
debian
4 месяца назад

In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallb ...

CVSS3: 8.6
github
4 месяца назад

In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by default despite documented opt-in. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).

suse-cvrf
4 месяца назад

Security update for bouncycastle

EPSS

Процентиль: 29%
0.00345
Низкий

7.4 High

CVSS3