DHI-tft3-46ej-rswi-ecmk
Issue summary: When an application passes a stack to
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- openssl
Description
Issue summary: When an application passes a stack to PEM_X509_INFO_read_bio_ex() to add entries to, and reading fails, OpenSSL frees every entry in the stack, both the old ones and any new ones, but leaves them in the stack. Impact summary: An application that passes an existing stack to PEM_X509_INFO_read_bio_ex() and keeps using it after a failed read may use memory that was already freed. This can cause a crash or, in principle, memory corruption. Malformed PEM data can make the read fail, but only applications that pass an existing stack are affected, and OpenSSL itself does not do this. CWE: CWE-416: Use After Free Description: PEM_X509_INFO_read_bio_ex() reads certificates, CRLs and private keys from PEM data and adds them to a stack of X509_INFO structures. If the application passes a stack that is not NULL, the function adds the new entries to it and must leave the entries that are already there unchanged. If reading fails, the function frees every entry in the stack. This includes the entries that were there before the call, and the entries added by the call. It does not remove these entries from the stack, so the stack keeps pointers to freed memory. The failure can happe
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-tft3-46ej-rswi-ecmk advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-107493 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-107493 advisory
- https://ubuntu.com/security/CVE-2026-107493 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-107493 advisory
- https://github.com/openssl/openssl/commit/c8f6d04f8e6d40b1bf83334e4a2ec9daf5943a3d fix
- https://github.com/openssl/openssl/commit/c57a5ccf0c060755b5494a6870922b7c6cdd7dd8 fix
- https://github.com/openssl/openssl/commit/0486dfadfec558e1808f59d35a8d79e541c4e7d7 fix
- https://security.alpinelinux.org/vuln/CVE-2026-107493 advisory