nday
CVE-2026-107493

Use-After-Free in PEM_X509_INFO_read_bio_ex() when appending to a caller-supplied stack fails

OpenSSL / OpenSSL

公開当日に技術解析が確認されています。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

use-after-free
CWE-416, stated by the CNA openssl、NVD, republishing [email protected]
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1) from the ADP CISA-ADP
OpenSSL
affected products in the CVE record: OpenSSL · OpenSSL
open-source library / framework
affected products in the CVE record: OpenSSL · OpenSSLthe product type of OpenSSL in nday's product registry
現在の段階
ANA
公開日時
CVSS 基本値
7.7 HIGH v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
11-17T08:14Z
PAT修正
記録なし
ANA解析
11-17T08:18Z
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

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 happen at any point, even before any entry was added. A PEM item with invalid content is enough. This also happens if the stack was empty: entries added before the failure are freed but stay in the stack.

An application that then reads or frees the stack will use memory that was already freed. This can crash the application or, in principle, corrupt memory.

Only applications that pass a stack that is not NULL are affected. OpenSSL itself never does this. Its own callers, including the code that TLS uses to load CA certificates, always pass NULL. When the stack is NULL, the function frees only the entries that it created itself, which is safe. We expect that very few applications pass an existing stack. An attacker can make the read fail with malformed PEM data, but cannot make an application pass an existing stack.

The same problem affects PEM_X509_INFO_read_bio(), PEM_X509_INFO_read() and PEM_X509_INFO_read_ex(), which use the same code. OpenSSL 1.1.1 and 1.0.2 have only the first two of these functions.

FIPS impact: no The affected code is outside the FIPS module boundary.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

イベント履歴

+DIS公開

openssl が CVE レコードを公開。CVSS 基本値 7.7(重要)。

出典 cvelist · nday が にリアルタイムで観測 · 生データ
{
  "id": 476036,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-107493",
  "occurred_at": "2026-11-17T08:14:08.947Z",
  "observed_at": "2026-11-17T09:01:12.558311Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
      "version": "3.1",
      "base_score": 7.7,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-17T16:47:04.388261Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-17T08:14:08.947Z",
    "assigner_short_name": "openssl"
  }
}
+ANA技術解析

oss-security メーリングリストへの投稿:「OpenSSL: 3 Low severity fixes merged publicly: PEM_X509_INFO_read_bio_ex(), QUIC and TLS 1.3」。

出典 osssec 2026/q4/732 · nday が にリアルタイムで観測 · 生データ
{
  "id": 496597,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/732",
  "occurred_at": "2026-11-17T08:18:58Z",
  "observed_at": "2026-11-20T08:13:28.642196Z",
  "is_backfill": false,
  "dedupe_key": "2026/q4/732",
  "detail": {
    "list": "oss-security",
    "author": "Norbert Pócs",
    "subject": "OpenSSL: 3 Low severity fixes merged publicly: PEM_X509_INFO_read_bio_ex(), QUIC and TLS 1.3",
    "is_reply": false
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.