Skip to navigation

Threat reportVulnerabilityTL-2026-6579

OpenSSL Integer Overflow Leading to Heap Buffer Overflow in EVP_EncodeBlock() Base64 Encoding (CVE-2026-121481)

criticalPATCHED

CVE-2026-121481 is an integer overflow in OpenSSL's EVP_EncodeBlock() that causes a heap buffer overflow when the function is called with an input length close to INT_MAX (about 2 GB). CISA's Vulnrichment scores it CVSS 3.1 9.8, while OpenSSL, as CNA, rates it Low because no attacker-controlled path to the overflow is known.

Key facts

IdentifiersTL-2026-6579, CVE-2026-121481
SeverityCRITICAL
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
EPSSCVE-2026-121481: 0.3% (24.1th percentile)
Affected productsOpenSSL OpenSSL; Canonical nodejs (Ubuntu 22.04 LTS, embedded OpenSSL 1.1.1m)
Weaknesses (CWE)CWE-190, CWE-122
MITRE ATT&CK techniquesT1005 Data from Local System, T1190 Exploit Public-Facing Application, T1203 Exploitation for Client Execution, T1499.004 Application or System Exploitation, T1565.001 Stored Data Manipulation
MotivationUNKNOWN
Target sectorstechnology, software-development, cloud-services
Target regionsGlobal
Detection rules9 (1 shown free)
Sources9 cited sources

Detection coverage

As of 2026-11-20, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6579 across Splunk SPL, Microsoft KQL and Sigma, covering 10 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: CVE-2026-121481 Follow-on: Web/Runtime Service Spawning a Shell After Memory-Corruption Attempt

Post-exploitation behaviour for TL-2026-6579. If a heap overflow in an OpenSSL-linked service (CVE-2026-121481) were ever weaponised into code execution, the typical outcome is a web/runtime service (node, nginx, httpd, apache2, java, php-fpm, gunicorn, uwsgi) spawning an interactive shell. Exploitation is currently theoretical; this is a generic high-signal post-exploitation control mapped to T1190/T1203, with the resulting interactive shell tracked as T1059.004 (Unix Shell).

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1203, T1190, T1059.004
  • Data sources: sysmon_for_linux, microsoft_defender_for_endpoint
  • Severity: high
  • Confidence: medium

Splunk SPL

index=linux_sysmon sourcetype="sysmon:linux" EventID=1 earliest=-24h
    (ParentImage="*/node" OR ParentImage="*/nginx" OR ParentImage="*/httpd" OR ParentImage="*/apache2" OR ParentImage="*/java" OR ParentImage="*/php-fpm" OR ParentImage="*/gunicorn" OR ParentImage="*/uwsgi")
    (Image="*/sh" OR Image="*/bash" OR Image="*/dash")
| stats count as spawns values(CommandLine) as commands earliest(_time) as first_seen latest(_time) as last_seen by host ParentImage Image User
| convert ctime(first_seen) ctime(last_seen)
| table host User ParentImage Image commands spawns first_seen last_seen

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("node", "nginx", "httpd", "apache2", "java", "php-fpm", "gunicorn", "uwsgi")
| where FileName in~ ("sh", "bash", "dash")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine
| order by Timestamp desc

Sigma

title: Web or Runtime Service Spawning Shell (Post-Exploitation, CVE-2026-121481 Context)
id: a41e8f07-6c93-4b2a-8d15-9f3c0e7b6303
status: experimental
description: Detects a Linux web/application runtime process spawning sh/bash/dash, the typical result of successful memory-corruption exploitation of a service linked against a vulnerable OpenSSL (CVE-2026-121481).
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-121481
  - https://github.com/openssl/openssl/pull/33652
  - https://openssl-library.org/news/vulnerabilities/
author: Threadlinqs Team
date: 2026/11/20
tags:
  - attack.execution
  - attack.t1203
  - attack.t1059.004
  - attack.initial-access
  - attack.t1190
  - cve.2026.121481
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|endswith:
      - '/node'
      - '/nginx'
      - '/httpd'
      - '/apache2'
      - '/java'
      - '/php-fpm'
      - '/gunicorn'
      - '/uwsgi'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
  condition: selection_parent and selection_child
falsepositives:
  - Node/Java apps that legitimately shell out (build tools, deploy hooks)
  - Admin debugging sessions from application containers
level: high

Known false positives:

  • Node.js / Java applications that legitimately shell out (build tools, deploy hooks, cron wrappers)
  • Administrators debugging inside application containers

Tuning notes: Baseline legitimate parent/command pairs per host and exclude them (e.g. known deploy scripts). Extend the parent list for your stack. Raise priority when the host also shows SPL-002 segfaults or heap-corruption aborts. Requires Sysmon for Linux EventID 1 or equivalent process telemetry; adjust index/sourcetype to your environment.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • CVE-2026-121481 glibc Heap-Corruption Abort Messages (Heap Buffer Overflow Indicator) · unlock with TL Creds
  • CVE-2026-121481 Service Crash Loop — Repeated systemd SEGV/ABRT Core Dumps · unlock with TL Creds
  • CVE-2026-121481 Kernel OOM-Kill of Service Process During Multi-Gigabyte Buffer Handling · unlock with TL Creds
  • CVE-2026-121481 auditd ANOM_ABEND — Abnormal Process Termination by SIGSEGV/SIGABRT · unlock with TL Creds
  • Base64 Encoding of Sensitive Local Files via Command Line (Post-Exploitation Collection, CVE-2026-121481 Context) · unlock with TL Creds
  • CVE-2026-121481 Core Dump File Created After Service Crash (Memory-Corruption Crash Artefact) · unlock with TL Creds
  • CVE-2026-121481 OpenSSL EVP_EncodeBlock — Near-INT_MAX Request Body to Public-Facing Application · unlock with TL Creds
  • CVE-2026-121481 Process Segfault Inside OpenSSL 4.x libcrypto (EVP_EncodeBlock Heap Overflow Crash) · unlock with TL Creds

Indicators of compromise

As of 2026-11-20, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-6579.

Sample indicators (1 of 10)

  • URL: hxxps://news[.]ycombinator[.]com/item?id=50569226

Defanged, TLP:CLEAR. Full set of 10 indicators: unlock with TL Creds.

10 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Fixed in OpenSSL 4.0.4 and 4.1.1.

CVE-2026-121481 affects the Base64 encoder EVP_EncodeBlock() in OpenSSL 4.0.0 before 4.0.4 and 4.1.0 before 4.1.1. The caller is expected to supply an output buffer of 4*((len+2)/3)+1 bytes. For input lengths near INT_MAX, that size calculation overflows a signed integer, so the function writes past the end of the caller-allocated heap buffer. Triggering it requires the calling application to hold a buffer of roughly two gigabytes and to pass a very large length to the function.

Severity is disputed between sources. The CISA ADP (Vulnrichment) container assigns CVSS 3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and CWE-122; NVD shows only this secondary score and the record is 'Awaiting Analysis'. OpenSSL, as the CNA, gives no CVSS score and rates the issue Low under its security policy, stating that no attacker-controlled path to the overflow is known. OpenSSL's TLS, QUIC and CMS code never encode buffers that large, and the command-line tools cannot practically be driven to do so. An application is exposed only if it accepts an attacker-controlled length and passes it to EVP_EncodeBlock() without its own bound check. The CNA weakness is CWE-190 (Integer Overflow or Wraparound).

No in-the-wild exploitation, public proof of concept, attribution or network IOCs are reported in any source. The CVE is not in CISA KEV. CISA SSVC (v2.0.3) records Exploitation 'none', Automatable 'yes', Technical Impact 'total'. OpenCVE shows an EPSS of 0.140% (30-day). The fix is OpenSSL pull request #33652; Nicky Mouha is credited as reporter and remediation developer. OpenSSL 3.x is outside the affected ranges. Ubuntu rates the issue Medium; its openssl package is 'Needs evaluation' on all releases, and nodejs on 22.04 LTS (which embeds OpenSSL 1.1.1m) is listed as Vulnerable, while edk2 (embedded OpenSSL) is 'Needs evaluation'.

Defender guidance: inventory software built against OpenSSL 4.0.0-4.0.3 and 4.1.0, upgrade to 4.0.4 or 4.1.1, and audit custom code that calls EVP_EncodeBlock() with externally influenced lengths. Add explicit length limits before Base64 encoding. Note that the OpenCVE 'Analysis' text is AI-generated and makes claims (signed 32-bit integer details, crafted network traffic, code execution) that are not in the CNA record, so it was not used as evidence.

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System

Initial Access

T1190 Exploit Public-Facing Application

Execution

T1203 Exploitation for Client Execution

Impact

T1499.004 Application or System Exploitation; T1565.001 Stored Data Manipulation

Remediation

Patches

  • Upgrade OpenSSL 4.0.x to 4.0.4
  • Upgrade OpenSSL 4.1.0 to 4.1.1
  • Fix is in openssl/openssl pull request #33652

Immediate actions

  • Inventory applications and containers linked against OpenSSL 4.0.0-4.0.3 or 4.1.0
  • Audit code that calls EVP_EncodeBlock() and confirm input lengths are bounded well below INT_MAX
  • Do not pass attacker-controlled lengths to EVP_EncodeBlock() without a bound check

Workarounds

  • Reject or cap input sizes before Base64 encoding in application code
  • OpenSSL 3.x is outside the affected ranges per the CVE record

Longer-term hardening

  • Track embedded OpenSSL copies in packages such as nodejs and edk2 via SBOM
  • Monitor the Ubuntu, Debian and OpenSSL advisories for packaged fixes

Affected and fixed versions

  • OpenSSL — OpenSSL
    Vulnerable versions: 4.0.0 through 4.0.3; 4.1.0
    Fixed in: 4.0.4; 4.1.1
  • Canonical — nodejs (Ubuntu 22.04 LTS, embedded OpenSSL 1.1.1m)
    Vulnerable versions: Ubuntu 22.04 LTS nodejs package

Timeline

  • CVE-2026-121481 identifier reserved by OpenSSL as CNA.
  • Fixed versions OpenSSL 4.0.4 and 4.1.1 identified in the CVE record.
  • CVE record published and ingested by NVD; the original title was 'Potential Buffer Overflow in EVP_EncodeBlock with Large Input Length in OpenSSL'. Fix tracked in pull request #33652.
  • Ubuntu Security Tracker published the CVE at Medium priority; nodejs on 22.04 LTS (embedded OpenSSL 1.1.1m) marked Vulnerable.
  • Cyber Security News reported the flaw as a critical 9.8 heap buffer overflow in OpenSSL's Base64 encoding function.
  • CNA revised the title to 'Integer Overflow in EVP_EncodeBlock() with Very Large Input Lengths' and recorded the Low severity rationale and credits (Nicky Mouha).

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats