CVEfocus › CVE database › CVE-2026-40542

CVE-2026-40542Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to…

CVSS 7.3 HighEPSS 0.7% (higher than 50% of CVEs)Published 2026-04-22Updated 2026-09-09Assigner: apache

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

CWE-304CWE-325

What to do

Fixed builds are available from 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

1Fixed
5Fix pending
3Under investigation
1Will not fix
139Not 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.10httpcomponents-clientFix pendingUBUNTU-CVE-2026-40542
Ubuntu 26.04httpcomponents-clientUnder investigationUBUNTU-CVE-2026-40542
Ubuntu 25.10httpcomponents-clientWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-40542
Ubuntu 24.04httpcomponents-clientUnder investigationUBUNTU-CVE-2026-40542
Ubuntu 22.04httpcomponents-clientUnder investigationUBUNTU-CVE-2026-40542
Ubuntu 20.04httpcomponents-clientFix pendingUBUNTU-CVE-2026-40542
Ubuntu 18.04httpcomponents-clientFix pendingUBUNTU-CVE-2026-40542
Ubuntu 16.04httpcomponents-clientFix pendingUBUNTU-CVE-2026-40542
Ubuntu 14.04httpcomponents-clientFix pendingUBUNTU-CVE-2026-40542
Red Hat Enterprise Linux 10dogtag-pkiNot affected
Red Hat Enterprise Linux 10idm-pki-acmeNot affected
Red Hat Enterprise Linux 10idm-pki-baseNot affected
Red Hat Enterprise Linux 10idm-pki-caNot affected
Red Hat Enterprise Linux 10idm-pki-javaNot affected
Red Hat Enterprise Linux 10idm-pki-kraNot affected
Red Hat Enterprise Linux 10idm-pki-serverNot affected
Red Hat Enterprise Linux 10idm-pki-toolsNot affected
Red Hat Enterprise Linux 10mod_proxy_clusterNot affected
Red Hat Enterprise Linux 10python3-idm-pkiNot affected
Red Hat Enterprise Linux 9aopallianceNot affected
Red Hat Enterprise Linux 9apache-commons-cliNot affected
Red Hat Enterprise Linux 9apache-commons-codecNot affected
Red Hat Enterprise Linux 9apache-commons-ioNot affected
Red Hat Enterprise Linux 9atinjectNot affected
Red Hat Enterprise Linux 9google-guiceNot affected
Red Hat Enterprise Linux 9guavaNot affected
Red Hat Enterprise Linux 9httpcomponents-clientNot affected
Red Hat Enterprise Linux 9httpcomponents-client-javadocNot affected
Red Hat Enterprise Linux 9httpcomponents-coreNot affected
Red Hat Enterprise Linux 9idm-pki-acmeNot affected
Red Hat Enterprise Linux 9idm-pki-baseNot affected
Red Hat Enterprise Linux 9idm-pki-caNot affected
Red Hat Enterprise Linux 9idm-pki-estNot affected
Red Hat Enterprise Linux 9idm-pki-javaNot affected
Red Hat Enterprise Linux 9idm-pki-kraNot affected
Red Hat Enterprise Linux 9idm-pki-serverNot affected
Red Hat Enterprise Linux 9idm-pki-toolsNot affected
Red Hat Enterprise Linux 9jakarta-annotationsNot affected
Red Hat Enterprise Linux 9jansiNot affected
Red Hat Enterprise Linux 9jcl-over-slf4jNot affected
Red Hat Enterprise Linux 9jmcNot affected
Red Hat Enterprise Linux 9jsr-305Not affected
Red Hat Enterprise Linux 9mavenNot affected
Red Hat Enterprise Linux 9maven-libNot affected
Red Hat Enterprise Linux 9maven-openjdk11Not affected
Red Hat Enterprise Linux 9maven-openjdk17Not affected
Red Hat Enterprise Linux 9maven-openjdk21Not affected
Red Hat Enterprise Linux 9maven-openjdk25Not affected
Red Hat Enterprise Linux 9maven-openjdk8Not affected
Red Hat Enterprise Linux 9maven-resolverNot affected
Red Hat Enterprise Linux 9maven-resolver-javadocNot affected
Red Hat Enterprise Linux 9maven-shared-utilsNot affected
Red Hat Enterprise Linux 9maven-unboundNot affected
Red Hat Enterprise Linux 9maven-wagonNot affected
Red Hat Enterprise Linux 9maven-wagon-javadocNot affected
Red Hat Enterprise Linux 9mod_proxy_clusterNot affected
Red Hat Enterprise Linux 9pki-acmeNot affected
Red Hat Enterprise Linux 9pki-baseNot affected
Red Hat Enterprise Linux 9pki-base-javaNot affected
Red Hat Enterprise Linux 9pki-caNot affected
Red Hat Enterprise Linux 9pki-coreNot affected
Red Hat Enterprise Linux 9pki-kraNot 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 9pki-serverNot affected
Red Hat Enterprise Linux 9pki-symkeyNot affected
Red Hat Enterprise Linux 9pki-toolsNot affected
Red Hat Enterprise Linux 9plexus-cipherNot affected
Red Hat Enterprise Linux 9plexus-classworldsNot affected
Red Hat Enterprise Linux 9plexus-containersNot affected
Red Hat Enterprise Linux 9plexus-containers-component-annotationsNot affected
Red Hat Enterprise Linux 9plexus-interpolationNot affected
Red Hat Enterprise Linux 9plexus-sec-dispatcherNot affected
Red Hat Enterprise Linux 9plexus-utilsNot affected
Red Hat Enterprise Linux 9python3-idm-pkiNot affected
Red Hat Enterprise Linux 9python3-pkiNot affected
Red Hat Enterprise Linux 9resteasyNot affected
Red Hat Enterprise Linux 9sisuNot affected
Red Hat Enterprise Linux 9slf4jNot affected
Red Hat Enterprise Linux 8httpcomponents-clientNot affected
Red Hat Enterprise Linux 8httpcomponents-client-cacheNot affected
Red Hat Enterprise Linux 8httpcomponents-client-javadocNot affected
Red Hat Enterprise Linux 8maven-doxiaNot affected
Red Hat Enterprise Linux 8maven-doxia-coreNot affected
Red Hat Enterprise Linux 8maven-doxia-javadocNot affected
Red Hat Enterprise Linux 8maven-doxia-logging-apiNot affected
Red Hat Enterprise Linux 8maven-doxia-module-aptNot affected
Red Hat Enterprise Linux 8maven-doxia-module-confluenceNot affected
Red Hat Enterprise Linux 8maven-doxia-module-docbook-simpleNot affected
Red Hat Enterprise Linux 8maven-doxia-module-fmlNot affected
Red Hat Enterprise Linux 8maven-doxia-module-latexNot affected
Red Hat Enterprise Linux 8maven-doxia-module-rtfNot affected
Red Hat Enterprise Linux 8maven-doxia-module-twikiNot affected
Red Hat Enterprise Linux 8maven-doxia-module-xdocNot affected
Red Hat Enterprise Linux 8maven-doxia-module-xhtmlNot affected
Red Hat Enterprise Linux 8maven-doxia-modulesNot affected
Red Hat Enterprise Linux 8maven-doxia-sink-apiNot affected
Red Hat Enterprise Linux 8maven-doxia-test-docsNot affected
Red Hat Enterprise Linux 8maven-doxia-testsNot affected
Red Hat Enterprise Linux 8maven-resolverNot affected
Red Hat Enterprise Linux 8maven-resolver-apiNot affected
Red Hat Enterprise Linux 8maven-resolver-connector-basicNot affected
Red Hat Enterprise Linux 8maven-resolver-implNot affected
Red Hat Enterprise Linux 8maven-resolver-javadocNot affected
Red Hat Enterprise Linux 8maven-resolver-spiNot affected
Red Hat Enterprise Linux 8maven-resolver-test-utilNot affected
Red Hat Enterprise Linux 8maven-resolver-transport-classpathNot affected
Red Hat Enterprise Linux 8maven-resolver-transport-fileNot affected
Red Hat Enterprise Linux 8maven-resolver-transport-httpNot affected
Red Hat Enterprise Linux 8maven-resolver-transport-wagonNot affected
Red Hat Enterprise Linux 8maven-resolver-utilNot affected
Red Hat Enterprise Linux 8maven-wagonNot affected
Red Hat Enterprise Linux 8maven-wagon-fileNot affected
Red Hat Enterprise Linux 8maven-wagon-ftpNot affected
Red Hat Enterprise Linux 8maven-wagon-httpNot affected
Red Hat Enterprise Linux 8maven-wagon-http-lightweightNot affected
Red Hat Enterprise Linux 8maven-wagon-http-sharedNot affected
Red Hat Enterprise Linux 8maven-wagon-javadocNot affected
Red Hat Enterprise Linux 8maven-wagon-provider-apiNot affected
Red Hat Enterprise Linux 8maven-wagon-providersNot affected
Red Hat Enterprise Linux 8resteasyNot affected
Red Hat Enterprise Linux 8resteasy-javadocNot affected
Red Hat Enterprise Linux 7maven-changes-pluginNot affected
Red Hat Enterprise Linux 7maven-changes-plugin-javadocNot affected
Red Hat Enterprise Linux 7maven-doxiaNot affected
Red Hat Enterprise Linux 7maven-doxia-coreNot affected
Red Hat Enterprise Linux 7maven-doxia-javadocNot affected
Red Hat Enterprise Linux 7maven-doxia-logging-apiNot affected
Red Hat Enterprise Linux 7maven-doxia-module-aptNot affected
Red Hat Enterprise Linux 7maven-doxia-module-confluenceNot affected
Red Hat Enterprise Linux 7maven-doxia-module-docbook-simpleNot affected
Red Hat Enterprise Linux 7maven-doxia-module-fmlNot affected
Red Hat Enterprise Linux 7maven-doxia-module-foNot affected
Red Hat Enterprise Linux 7maven-doxia-module-latexNot affected
Red Hat Enterprise Linux 7maven-doxia-module-rtfNot affected
Red Hat Enterprise Linux 7maven-doxia-module-twikiNot affected
Red Hat Enterprise Linux 7maven-doxia-module-xdocNot affected
Red Hat Enterprise Linux 7maven-doxia-module-xhtmlNot affected
Red Hat Enterprise Linux 7maven-doxia-modulesNot affected
Red Hat Enterprise Linux 7maven-doxia-sink-apiNot affected
Red Hat Enterprise Linux 7maven-doxia-test-docsNot affected
Red Hat Enterprise Linux 7maven-doxia-testsNot affected
Red Hat Enterprise Linux 7maven-wagonNot affected
Red Hat Enterprise Linux 7maven-wagon-javadocNot affected
Red Hat Enterprise Linux 7maven-wagon-provider-testNot affected
Red Hat Enterprise Linux 7maven-wagon-scmNot affected
Maven libraryorg.apache.httpcomponents.client5:httpclient5Fixed5.6.1GHSA-v468-qcjx-r72w

What the vendor says

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