Cyber Posture

CVE-2026-40046

High

Published: 09 April 2026

Published
09 April 2026
Modified
13 April 2026
KEV Added
Patch
CVSS Score 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0005 15.4th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2026-40046 is a high-severity Integer Overflow or Wraparound (CWE-190) vulnerability in Apache ActiveMQ (inferred from references). Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 15.4th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SC-5 (Denial-of-service Protection) and SI-10 (Information Input Validation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly mandates timely remediation of known flaws like this integer overflow vulnerability by applying patches or upgrades to fixed ActiveMQ versions.

prevent

Requires validation of untrusted inputs such as MQTT control packet remaining length fields to prevent integer overflows and wraparounds.

prevent

Implements protections against denial-of-service attacks exploiting this vulnerability through crafted packets causing crashes or resource exhaustion.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

Vulnerability in public-facing MQTT service allows unauthenticated network attacker to send crafted packet triggering integer overflow for DoS; directly maps to exploiting public-facing app (T1190) and application/system exploitation for endpoint DoS (T1499.004).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

Integer Overflow or Wraparound vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT. The fix for "CVE-2025-66168: MQTT control packet remaining length field is not properly validated" was only applied to 5.19.2 (and future 5.19.x) releases but was missed…

more

for all 6.0.0+ versions. This issue affects Apache ActiveMQ: from 6.0.0 before 6.2.4; Apache ActiveMQ All: from 6.0.0 before 6.2.4; Apache ActiveMQ MQTT: from 6.0.0 before 6.2.4. Users are recommended to upgrade to version 6.2.4 or a 5.19.x version starting with 5.19.2 or later (currently latest is 5.19.5), which fixes the issue.

Deeper analysisAI

CVE-2026-40046 is an Integer Overflow or Wraparound vulnerability (CWE-190) affecting the MQTT component in Apache ActiveMQ, Apache ActiveMQ All, and Apache ActiveMQ MQTT. It stems from a missed application of the fix for CVE-2025-66168, which addressed improper validation of the MQTT control packet remaining length field. The vulnerability impacts Apache ActiveMQ versions from 6.0.0 before 6.2.4, as well as the corresponding versions of Apache ActiveMQ All and Apache ActiveMQ MQTT.

An unauthenticated attacker with network access can exploit this vulnerability due to its CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). By sending a specially crafted MQTT control packet, the attacker triggers an integer overflow or wraparound, leading to a denial-of-service condition through application crashes or resource exhaustion.

The Apache security advisory recommends upgrading to Apache ActiveMQ version 6.2.4 or to a 5.19.x version starting from 5.19.2 (with the latest being 5.19.5), which include the proper fix for the MQTT validation issue. Additional details are available in the official announcement and related mailing list thread.

Details

CWE(s)

Affected Products

Apache
ActiveMQ
inferred from references and description; NVD did not file a CPE for this CVE

CVEs Like This One

CVE-2026-41602Shared CWE-190
CVE-2026-27889Shared CWE-190
CVE-2026-2588Shared CWE-190
CVE-2026-23833Shared CWE-190
CVE-2026-41605Shared CWE-190
CVE-2026-37555Shared CWE-190
CVE-2026-25970Shared CWE-190
CVE-2026-30910Shared CWE-190
CVE-2026-33900Shared CWE-190
CVE-2026-32759Shared CWE-190

References