CVE-2025-4575: OpenSSL - Authentication Bypass
- Cve: CVE-2025-4575
- Name: OpenSSL - Authentication Bypass
- Description: Issue summary: Use of -addreject option with the openssl x509 application adds a trusted use instead of a rejected use for a certificate. Impact summary: If a user intends to make a trusted certificate rejected for a particular use it will be instead marked as trusted for that use. A copy & paste error during minor refactoring of the code introduced this issue in the OpenSSL 3.5 version. If, for example, a trusted CA certificate should be trusted only for the purpose of authenticating TLS servers but not for CMS signature verification and the CMS signature verification is intended to be marked as rejected with the -addreject option, the resulting CA certificate will be trusted for CMS signature verification purpose instead. Only users which use the trusted certificate format who use the openssl x509 command line application to add rejected uses are affected by this issue. The issues affecting only the command line application are considered to be Low severity. The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue. OpenSSL 3.4, 3.3, 3.2, 3.1, 3.0, 1.1.1 and 1.0.2 are also not affected by this issue.
- Impact: Users may mistakenly trust certificates for uses intended to be rejected, potentially weakening certificate validation.
- Remediation: Update to a version later than 3.5 or apply patches fixing the -addreject option behavior.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Epss score: 0.00389
- Epss percentile: 0.33713
- Assignee: [email protected]
- Published at: 2025-05-22T14:16:07Z
- Age in days: 551
- Modified at: 2026-06-17T09:33:33Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-4575
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-295 | Improper Certificate Validation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/openssl/openssl/commit/e96d22446e633d117e6c9904cb15b4693e956eaa | Patch |
| https://openssl-library.org/news/secadv/20250522.txt | Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/05/22/1 | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openssl:openssl | = 3.5.0 | no | nvd | /v1/products/openssl/openssl |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openssl/openssl | commit, fix | yes | /v1/repositories/openssl/openssl |
Index
- Repositories: 62
- Repositories high signal: 43
- Checked, none or zero: packages
Exploitation
- Remote: yes
- Exposed hosts: 2065277
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports