# CVE-2025-4575: The x509 application adds trusted use instead of rejected use

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-22 · Modified: 2025-05-22
- Aliases: ALPINE-CVE-2025-4575, DEBIAN-CVE-2025-4575, CGA-8jcv-q48j-26p5, CGA-c5j7-p289-63q6, CGA-g5rv-mjg4-m8pr, CGA-m454-q539-fg8c, CGA-mx8c-xp6r-74j8, CGA-qx25-h6f8-5pm7, CGA-22hm-xxp8-55mm, CGA-3pxj-839p-f9vp, CGA-46w6-4f23-3vwx, CGA-8w84-cx8g-fmrx, CGA-93p5-hqc3-mgrv, CGA-hwwh-wf97-23xj, CGA-r377-pcjv-jrq2, CGA-r9xm-5ghv-5rg8, CGA-4w76-mj8q-r2pp, CGA-5m97-mmq7-4h4m, CGA-7xf3-433c-vxwh, CGA-933p-m2hr-pwhr, CGA-9qm2-947q-qp95, CGA-gcqw-ffcf-636w, CGA-h7pv-7j5j-26r7, CGA-m9f9-g6gg-92ww
- Record: https://cvemate.com/vulnerability/CVE-2025-4575 · JSON: https://cvemate.com/vulnerability/CVE-2025-4575/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.389%, percentile 35.091%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine openssl (Alpine Linux): \< 3.5.1-r0
- chainguard libcrypto3 (Chainguard): \< 3.5.1-r0
- chainguard libcrypto3-2.34 (Chainguard): \< 3.5.1-r0
- chainguard openssl (Chainguard): \< 3.5.1-r0
- chainguard openssl-3.5 (Chainguard): \< 3.5.1-r0
- chainguard openssl-3.5-libcrypto (Chainguard): \< 3.5.1-r0
- chainguard openssl-3.5-libssl (Chainguard): \< 3.5.1-r0
- chainguard openssl-3.5-static-bin (Chainguard): \< 3.5.1-r0
- chainguard openssl-doc (Chainguard): \< 3.5.0-r2
- chainguard openssl-provider-fips (Chainguard): All versions (No fix recorded)
- chainguard openssl-provider-fips-3.1.2 (Chainguard): All versions (No fix recorded)
- chainguard openssl-provider-fips-3.4.0 (Chainguard): All versions (No fix recorded)
- wolfi libcrypto3 (Wolfi): \< 3.5.1-r0
- wolfi openssl (Wolfi): \< 3.5.1-r0
- wolfi openssl-doc (Wolfi): \< 3.5.0-r2
- debian openssl (Debian): \< 3.5.0-2
- openssl openssl: ≥ 3.5.0, \< 3.5.1 \| 3.5.0

## References

- <https://openssl-library.org/news/secadv/20250522.txt>
- <https://github.com/openssl/openssl/commit/e96d22446e633d117e6c9904cb15b4693e956eaa>
- <http://www.openwall.com/lists/oss-security/2025/05/22/1>
- <https://security.alpinelinux.org/vuln/CVE-2025-4575>
- <https://security-tracker.debian.org/tracker/CVE-2025-4575>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4575.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4575>

---

Data as of 2026-12-05T14:13:13.944Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
