CVE-2025-4575
Issue summary: Use of -addreject option with the openssl x509 applicat ...
Overview
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: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness: CWE-295
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSL_jll | >=3.5.0+0, <3.5.1+0 | 3.5.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 22 fixes
SUSE Linux Enterprise 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | nodejs24 +3 | 24.18.1-150700.15.18.1 | SUSE-SU-2026:3835-1 |
| 15.7 | libopenssl-devel +2 | 3.5.0-150700.3.4.1 | SUSE-SU-2026:3835-1 |
| 15.7 | libopenssl-3-devel +5 | 3.5.0-150700.5.45.2 | SUSE-SU-2026:3835-1 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.5.1-r0 |
| 3.23 | openssl | 3.5.1-r0 |
| 3.24 | openssl | 3.5.1-r0 |
| edge | openssl | 3.5.1-r0 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips +2 | not affected | |
| libcrypto3-2-34 +2 | 3.5.1-r0 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | openssl | 3.5.0-2 |
| 14 | openssl | 3.5.0-2 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-3-5-0 | 3.5.0+e1 | |
| openssl | 3.5.0-2 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.5.1-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +9 | 3.5.0-3.1 | openSUSE-SU-2025:15183-1 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.5.1-r0 |
seal alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 3.3.2-r45341999 | |
| openssl +1 | 3.3.3-r05341999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 | |
| openssl +1 | 3.0.11-1~deb12u2+sp999 | |
| openssl +1 | 3.0.16-1~deb12u1+sp999 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.5.1-r0 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/05/22/1
- github.com https://github.com/advisories/GHSA-v8qh-5c5w-48pp
- github.com https://github.com/openssl/openssl/commit/e96d22446e633d117e6c9904cb15b4693e956eaa
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-4575
- openssl-library.org https://openssl-library.org/news/secadv/20250522.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.