PT-2025-22478 · Openssl · Openssl
Alexandr Sosedkin
+1
·
Published
2025-05-02
·
Updated
2026-04-27
·
CVE-2025-4575
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
OpenSSL version 3.5
Description
The issue arises from the use of the -addreject option with the openssl x509 application, which adds a trusted use instead of a rejected use for a certificate. This means if a user intends to make a trusted certificate rejected for a particular use, it will be instead marked as trusted for that use. The problem was introduced by a copy & paste error during minor refactoring of the code in the OpenSSL 3.5 version. Only users who use the trusted certificate format and the openssl x509 command line application to add rejected uses are affected.
Recommendations
For OpenSSL version 3.5, consider avoiding the use of the -addreject option with the openssl x509 application until a fix is available. As a temporary workaround, manually verify the certificate uses after adding them to ensure they match the intended configuration.
Fix
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openssl