nday
CVE-2026-107493

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

OpenSSL / OpenSSL

披露当天出现技术分析。本站尚未获取修复依据,不能据此认为没有补丁。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 漏洞类型use-after-free 攻击途径本地无需认证无需用户交互 产品OpenSSL 产品类型开源库/框架
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

use-after-free
CWE-416(来源:编号分配方 openssl、NVD(转录自 [email protected]))
本地
ADP CISA-ADP 给出的 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H(CVSS 3.1)中的 AV:L
无需认证
ADP CISA-ADP 给出的 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H(CVSS 3.1)中的 PR:N
无需用户交互
ADP CISA-ADP 给出的 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H(CVSS 3.1)中的 UI:N
OpenSSL
CVE 记录列出的受影响产品:OpenSSL · OpenSSL
开源库/框架
CVE 记录列出的受影响产品:OpenSSL · OpenSSLnday 产品登记表中 OpenSSL 的产品类型
当前阶段
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.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:L
本地:需要本地或 SSH 会话,或诱使用户在本机上操作
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:N
无:除攻击者外不需要任何人配合

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

CVSS 3.1 向量,来自 CVE 记录,由 ADP CISA-ADP 补充。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 openssl。CVSS 7.7,高危。

来源 cvelist · 本站 实时观测 · 原始记录
{
  "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 · 本站 实时观测 · 原始记录
{
  "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
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。