nday
CVE-2026-121481

Integer Overflow in EVP_EncodeBlock() with Very Large Input Lengths

OpenSSL / OpenSSL

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

这些标签的依据

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

integer overflow
CWE-190(来源:编号分配方 openssl、NVD(转录自 [email protected]))
远程未授权
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1)中的 AV:N、PR:N、UI:N
网络
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1)中的 AV:N
无需认证
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1)中的 PR:N
无需用户交互
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1)中的 UI:N
OpenSSL
CVE 记录列出的受影响产品:OpenSSL · OpenSSL
开源库/框架
CVE 记录列出的受影响产品:OpenSSL · OpenSSLnday 产品登记表中 OpenSSL 的产品类型
当前阶段
DIS
披露
CVSS
5.9 MEDIUM v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
11-18T11:43Z
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

Issue summary: Calling EVP_EncodeBlock() with an input length close to INT_MAX may overflow the calculation of the encoded output size and write past the end of the caller-supplied output buffer.

Impact summary: No path by which an attacker can trigger this has been identified. An application that passes an input length near INT_MAX to EVP_EncodeBlock() could suffer a heap buffer overflow, crashing or corrupting its own memory, but it must itself supply such a length.

CWE: CWE-190: Integer Overflow or Wraparound

Description: EVP_EncodeBlock() base64-encodes a buffer of a caller-supplied length into an output buffer that the caller allocates. The caller is expected to reserve 4*((len+2)/3)+1 bytes. For input lengths close to INT_MAX, the arithmetic that computes the encoded length overflows a signed integer, so the function writes more data than the documented output size. The result is a heap buffer overflow in the calling process.

Reaching this requires an application to pass an input length near INT_MAX to EVP_EncodeBlock(). OpenSSL's TLS, QUIC and CMS implementations never encode buffers of that size, and the command line tools cannot practically be made to do so: the limits on reading a proxy password from a file and on bignum sizes prevent it. An application that accepts an attacker-controlled length and forwards it to EVP_EncodeBlock() without its own bound check is exposed.

The severity is Low because no attacker-controlled path to the overflow is known. The caller must already hold a buffer of about two gigabytes before the defect can be reached.

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

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

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:H
高:能否成功取决于攻击者无法控制的条件,例如须先收集目标信息或赢得竞态
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:N
无:除攻击者外不需要任何人配合

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

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

事件记录

+DIS披露

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

来源 cvelist · 本站 实时观测 · 原始记录
{
  "id": 478947,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-121481",
  "occurred_at": "2026-11-18T11:43:33.634Z",
  "observed_at": "2026-11-18T12:01:30.432378Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "version": "3.1",
      "base_score": 5.9,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-20T19:45:06.462019Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-18T11:43:33.634Z",
    "assigner_short_name": "openssl"
  }
}

纠错

报告错误或缺失

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

研究员讨论

近 7 天有 1 位研究员提到

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

  1. 2026-11-20

    @itsMikeKipruto 于 2026-11-20 发帖,登录后可阅读。

登录后可阅读 1 条帖子。

登录阅读

讨论

0 条评论

还没有评论。