{"schemaVersion":3,"id":"CVE-2026-40046","aliases":["UBUNTU-CVE-2026-40046","CGA-2c6p-9wh5-v7q4","CGA-3m3q-858x-rxjr","CGA-cpww-64p7-vff9","CGA-ffmw-qwf4-mvg7","CGA-fgvm-mjmx-4x64","CGA-gc8m-f3px-pcqh","CGA-j6p8-2xpq-w5f3","CGA-jcjm-9gx7-v5cx","CGA-p8mg-vjx5-g5j6","GHSA-xvqc-pp94-fmpx","BIT-activemq-2026-40046","CGA-q66x-qj4m-m2x4","CGA-r995-cf3x-5mgh","CGA-v98x-4jph-xq6p"],"status":"published","duplicateOf":null,"title":null,"description":"Integer Overflow or Wraparound vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT.\n\nThe 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.\n\n\nThis 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.\n\n\n\nUsers 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.","dates":{"published":"2026-04-09T15:58:32.966Z","modified":"2026-04-10T19:41:00.618Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00609,"percentile":0.48084,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.234,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00375},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00609,"percentile":0.48084}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00609,"percentile":0.48084}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"apache software foundation","product":"apache activemq","name":"Apache ActiveMQ","label":"apache activemq","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.2.4","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_activemq"},{"vendor":"apache software foundation","product":"apache activemq all","name":"Apache ActiveMQ All","label":"apache activemq all","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.2.4","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_activemq_all"},{"vendor":"apache software foundation","product":"apache activemq mqtt","name":"Apache ActiveMQ MQTT","label":"apache activemq mqtt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.2.4","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_activemq_mqtt"},{"vendor":"chainguard","product":"apache-activemq-6.1","name":"apache-activemq-6.1","label":"apache-activemq-6.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-activemq-6.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"apache-activemq-fips-6.1","name":"apache-activemq-fips-6.1","label":"apache-activemq-fips-6.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-activemq-fips-6.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"activemq","name":"activemq","label":"activemq","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/activemq","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.activemq","product":"activemq-all","name":"org.apache.activemq:activemq-all","label":"activemq-all","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.activemq/activemq-all","purlType":"maven","versions":[{"text":"≥ 6.0.0, < 6.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.2.4","eol":null,"hubHref":null},{"vendor":"org.apache.activemq","product":"activemq-mqtt","name":"org.apache.activemq:activemq-mqtt","label":"activemq-mqtt","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.activemq/activemq-mqtt","purlType":"maven","versions":[{"text":"≥ 6.0.0, < 6.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.2.4","eol":null,"hubHref":null},{"vendor":"org.apache.activemq","product":"apache-activemq","name":"org.apache.activemq:apache-activemq","label":"apache-activemq","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.activemq/apache-activemq","purlType":"maven","versions":[{"text":"≥ 6.0.0, < 6.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.2.4","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2025-66168","label":"www.cve.org/CVERecord?id=CVE-2025-66168","hostname":"www.cve.org","tags":["Related","REPORT","WEB"]},{"url":"https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt","label":"activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt","hostname":"activemq.apache.org","tags":["Vendor Advisory","REPORT","WEB"]},{"url":"https://lists.apache.org/thread/zdntj5rcgjjzrpow84o339lzldy68zrg","label":"lists.apache.org/thread/zdntj5rcgjjzrpow84o339lzldy68zrg","hostname":"lists.apache.org","tags":["Vendor Advisory","REPORT","WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-40046","label":"ubuntu.com/security/CVE-2026-40046","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40046","label":"www.cve.org/CVERecord?id=CVE-2026-40046","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40046","label":"nvd.nist.gov/vuln/detail/CVE-2026-40046","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-09T15:58:32.966Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-10T19:41:00.618Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T03:52:27.466Z","stale":false,"partial":false}}