VDB

CVE-2025-4575

CVE-2025-4575 PUBLISHED CVSS 6.5 MEDIUM

The x509 application adds trusted use instead of rejected use

Reported by openssl · Published May 22, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
opensslChainguard3.5.1-r0, 3.5.0-r2
openssl-3.5Chainguard3.5.1-r0
opensslAlpine3.5.1-r0
opensslWolfi3.5.1-r0, 3.5.0-r2
OpenSSLOpenSSL3.5.1

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected products

VendorProductVersions
OpenSSLOpenSSL3.5.0
chainguardopenssl0, 0
chainguardopenssl-provider-fips*
chainguardopenssl-provider-fips-3.1.2*
chainguardopenssl-3.50
alpineopenssl0
archopenssl*
wolfiopenssl0, 0
OpenSSLOpenSSL3.5.0
chainguardlibcrypto3-2.340
chainguardopenssl-provider-fips-3.4.0*

Timeline

  • May 22, 2025 Coalition ESS Score (29 in total, the first dated here)
  • May 22, 2025 CVE Published
  • May 22, 2025 CVE Updated
  • May 23, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-4575
vulnetix vdb fixes CVE-2025-4575

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4575/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›