CVE-2025-4575 in Openssl
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 mino...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Openssl | Openssl | ≥ 3.5.0, < 3.5.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-4575 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-039611-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| Published | 2025-05-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-295: CWE-295
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295
CAPEC-475 Signature Spoofing by Improper Validation via CWE-295
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A flaw in the OpenSSL 3.5 version allows the -addreject option to incorrectly mark certificates as trusted instead of rejected, potentially leading to unauthorized use of certificates.
An attacker could exploit this issue by creating or modifying certificates to be trusted for unintended purposes, bypassing security controls that rely on the correct rejection of certain certificate uses.
Questions
What is CVE-2025-4575?
A flaw in the OpenSSL 3.5 version allows the -addreject option to incorrectly mark certificates as trusted instead of rejected, potentially leading to unauthorized use of certificates.
What is the CVSS score for CVE-2025-4575?
CVE-2025-4575 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L. EPSS: 0.4%.
Is CVE-2025-4575 actively exploited?
No confirmed active exploitation of CVE-2025-4575 as of 2026-09-25.
How do I remediate CVE-2025-4575?
Priority: HIGH. Advisory: https://openssl-library.org/news/secadv/20250522.txt PSIRT: [email protected]
What systems are affected by CVE-2025-4575?
CVE-2025-4575 affects Openssl Openssl.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Openssl","product":"Openssl","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.