cve.bz

CVE-2026-40046 apache software foundation: Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highEPSS 0.4%Fix available

High (7.5) in apache software foundation. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.activemq:apache-activemq 6.2.4.

On this page
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 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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • org.apache.activemq:apache-activemq (Maven): fixed in 6.2.4
  • org.apache.activemq:activemq-all (Maven): fixed in 6.2.4
  • org.apache.activemq:activemq-mqtt (Maven): fixed in 6.2.4

Ask an AI about this CVE

Show the promptExplain CVE-2026-40046 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40046?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40046?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40046 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache ActiveMQfrom 6.0.0 before 6.2.4
Apache Software Foundation Apache ActiveMQ Allfrom 6.0.0 before 6.2.4
Apache Software Foundation Apache ActiveMQ MQTTfrom 6.0.0 before 6.2.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xvqc-pp94-fmpxMavenorg.apache.activemq:apache-activemq>=6.0.0 <6.2.46.2.4
GHSA-xvqc-pp94-fmpxMavenorg.apache.activemq:activemq-all>=6.0.0 <6.2.46.2.4
GHSA-xvqc-pp94-fmpxMavenorg.apache.activemq:activemq-mqtt>=6.0.0 <6.2.46.2.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 5 moreactivemqno fix listedUBUNTU-CVE-2026-40046

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue specifically affects Apache ActiveMQ, Apache ActiveMQ All and Apache ActiveMQ MQTT versions from 6.0.0 before 6.2.4. These versions are not shipped in any Red Hat product.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Fuse 7activemq-allNot affected
Red Hat Fuse 7activemq-mqttNot affected
Red Hat JBoss Enterprise Application Platform 7activemq-mqttNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packactivemq-mqttNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40046.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON