cve.bz

CVE-2025-27820 Improper Certificate Validation

7.5 highEPSS 1.0%Fix available

High (7.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.httpcomponents.client5:httpclient5 5.4.3.

On this page
A bug in PSL validation logic in Apache HttpClient 5.4.x disables domain checks, affecting cookie management and host name verification. Discovered by the Apache HttpClient team. Fixed in the 5.4.3 release

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.0% (unchanged from 1.0% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-04-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication 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-2025-27820 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-27820?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-27820?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-2025-27820 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 CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache HttpComponentsfrom 5.4.0 before 5.4.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-73m2-qfq3-56cxMavenorg.apache.httpcomponents.client5:httpclient5>=5.4-alpha1 <5.4.35.4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 6 morehttpcomponents-clientno fix listedUBUNTU-CVE-2025-27820

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate due to the high attack complexity required for exploitation, the limited impact on confidentiality, and the fact that the issue does not allow direct system compromise or denial of service. While the failure to load the Public Suffix List weakens hostname and cookie validation, it does not lead to immediate critical security breaches, and mitigation techniques such as manual cookie domain validation and other security measures typically reduce the risk in real-world scenarios.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cryostat 3httpclient5Not affected
Cryostat 4httpclient5Not affected
Red Hat AMQ Broker 7httpclient5Not affected
Red Hat AMQ Clientshttpclient5Fix deferred
Red Hat build of Apache Camel 4 for Quarkus 3quarkus-camel-bomNot affected
Red Hat build of Apache Camel 4 for Quarkus 3quarkus-cxf-bomNot affected
Red Hat build of Apache Camel for Spring Boot 4httpclient5Not affected
Red Hat build of Apache Camel - HawtIO 4httpclient5Not affected
Red Hat build of Apicurio Registry 2httpclient5Not affected
Red Hat build of Apicurio Registry 3httpclient5Not affected
Red Hat build of Debezium 2httpclient5Not affected
Red Hat build of Debezium 3httpclient5Not affected
Red Hat Data Grid 8httpclient5Not affected
Red Hat Fuse 7httpclient5Not affected
Red Hat JBoss Enterprise Application Platform 7httpclient5Not affected
Red Hat JBoss Enterprise Application Platform 8httpclient5Not affected
Red Hat JBoss Enterprise Application Platform Expansion Packhttpclient5Not affected
Red Hat JBoss Web Server 6httpclient5Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-modelmesh-rhel8Not affected
Red Hat Process Automation 7httpclient5Not affected
2 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-2025-27820.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very 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