{"id":"CVE-2026-75516","published":"2026-09-16T18:30:58Z","modified":"2026-09-18T18:17:25Z","title":"RabbitMQ Java client: Frame-level OOM: Math.min(maxInboundMessageBodySize, 0) defeats frame size enforcement","vendor":"rabbitmq","product":"rabbitmq-java-client","tier":"tail","description":{"text":"The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.34.0, AMQConnection.start() applies Math.min(maxInboundMessageBodySize, frameMax) after Connection.Tune negotiation even though AMQP defines frameMax value zero as unlimited and ConnectionFactory.DEFAULT_FRAME_MAX is zero. When the client default and server-negotiated value are both zero, the result is passed to Utils.framePayloadLimit(int), which interprets zero as Integer.MAX_VALUE and disables the configured maxInboundMessageBodySize cap. A malicious AMQP server, or a man-in-the-middle attacker able to modify Connection.Tune and inject frames into the connection, can then send an oversized frame of any frame type, causing Frame.readFrom() to allocate a large byte array before content-level validation and potentially terminate the client process through memory exhaustion. This issue is fixed in version 5.34.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00552,"percentile":0.39788,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-jh4v-gfqj-7rhx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rabbitmq/rabbitmq-java-client/pull/2015","tags":["x_refsource_MISC"]},{"url":"https://github.com/rabbitmq/rabbitmq-java-client/pull/2016","tags":["x_refsource_MISC"]},{"url":"https://github.com/rabbitmq/rabbitmq-java-client/commit/6d7c2bfe89796ca34d3531098fb59dd657fea39e","tags":["x_refsource_MISC"]},{"url":"https://github.com/rabbitmq/rabbitmq-java-client/commit/e7f10bf99aee103dd9f64b3e52a725fc9f9d3763","tags":["x_refsource_MISC"]},{"url":"https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.34.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.96},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"rabbitmq","affectedVersions":[{"vendor":"rabbitmq","product":"rabbitmq-java-client","versions":["< 5.34.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-18T18:17:15.246486Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.rabbitmq:amqp-client","vulnerableRanges":["<5.34.0"],"patched":["5.34.0"],"from":["GHSA-jh4v-gfqj-7rhx"],"provenance":"source"}],"summary":{"text":"The RabbitMQ Java client (rabbitmq-java-client) fails to enforce its configured inbound frame size cap during connection setup: when the client default and the server-negotiated frame maximum are both zero, the cap is effectively disabled. An attacker who is a malicious AMQP server, or a man-in-the-middle able to modify the connection tuning exchange and inject frames, can send an oversized frame over the network without authentication or user interaction, forcing the client to allocate excessive memory and potentially crash the client process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:48Z"},"euvd":{"id":"EUVD-2026-80941","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rabbitmq-java-client-cve-2023-46120","parents":[{"from":"CVE-2026-61634","to":"CVE-2026-75516","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/com/rabbitmq/client/impl/AMQConnection.java"],"commits":["https://github.com/rabbitmq/rabbitmq-java-client/commit/08790f09686173eb17b48d08a25edcb32e71a591","https://github.com/rabbitmq/rabbitmq-java-client/commit/b491075f42e89967610c40beded68d3680cfd472","https://github.com/rabbitmq/rabbitmq-java-client/commit/6d7c2bfe89796ca34d3531098fb59dd657fea39e","https://github.com/rabbitmq/rabbitmq-java-client/commit/e7f10bf99aee103dd9f64b3e52a725fc9f9d3763"],"basis":"shared function","functions":["start"]}]}],"packageHistory":[{"cve":"CVE-2026-63337","published":"2026-08-18","fixed":"5.33.0","kev":false},{"cve":"CVE-2026-69219","published":"2026-08-18","fixed":"5.33.1","kev":false},{"cve":"CVE-2026-69220","published":"2026-08-18","fixed":"5.33.1","kev":false,"link":{"from":"CVE-2026-69220","to":"CVE-2026-75516","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.rabbitmq:amqp-client","fromFixed":"5.33.1","toFixed":"5.34.0","daysApart":29}]}},{"cve":"CVE-2026-75516","published":"2026-09-16","fixed":"5.34.0","kev":false},{"cve":"CVE-2026-106123","published":"2026-10-06","fixed":"5.35.0","kev":false,"link":{"from":"CVE-2026-75516","to":"CVE-2026-106123","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.rabbitmq:amqp-client","fromFixed":"5.34.0","toFixed":"5.35.0","daysApart":20}]}},{"cve":"CVE-2026-106122","published":"2026-10-06","fixed":"5.36.0","kev":false},{"cve":"CVE-2026-106121","published":"2026-10-06","fixed":"5.36.1","kev":false}],"package":"Maven:com.rabbitmq:amqp-client"}}