Katalog CVE

CVE-2026-45447

WysokieCVSS 8.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Wysokie ryzyko
2.72%

Percentyl 84 - wyżej niż 84% wszystkich znanych CVE

Streszczenie

Specjalnie spreparowana wiadomość PKCS#7 lub S/MIME z podpisem może wywołać użycie po zwolnieniu (use-after-free) podczas weryfikacji podpisu w OpenSSL. Błąd występuje, gdy pole digestAlgorithms jest pustym zbiorem ASN.1 SET, co prowadzi do nieprawidłowego zwolnienia struktury BIO.

Ocena ryzyka

Podatność może skutkować awarią procesu, uszkodzeniem sterty, a w niektórych kontekstach potencjalnie zdalnym wykonaniem kodu. Organizacje przetwarzające podpisane wiadomości PKCS#7 lub S/MIME są narażone na ataki.

Rekomendacja

Zaleca się natychmiastową aktualizację OpenSSL do wersji łatanej. Jeśli nie jest to możliwe, należy ograniczyć przetwarzanie niezaufanych wiadomości PKCS#7/S/MIME lub zastosować API CMS, które nie jest podatne.

Oryginalny opis (angielski, źródło NVD)

Issue summary: A specially crafted PKCS#7 or S/MIME signed message could trigger a use-after-free during PKCS#7 signature verification. Impact summary: A use-after-free may result in process crashes, heap corruption, or potentially remote code execution. When processing a PKCS#7 or S/MIME signed message, if the SignedData digestAlgorithms field is present as an empty ASN.1 SET, OpenSSL may incorrectly free a caller-owned BIO during PKCS7_verify(). A subsequent use of the BIO by the calling application results in a use-after-free condition. In the common case this occurs when the application later calls BIO_free() on the BIO originally passed to PKCS7_verify(). Depending on allocator behavior and application-specific BIO usage patterns, this may result in a crash or other memory corruption. In some application contexts this may potentially be exploitable for remote code execution. Applications that process PKCS#7 or S/MIME signed messages using OpenSSL PKCS#7 APIs may be affected. Applications using the CMS APIs for this processing are not affected. The FIPS modules in 4.0, 3.6, 3.5, 3.4, and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS