Encoding Error Affecting com.rabbitmq:amqp-client package, versions [,5.36.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.48% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMRABBITMQ-20562043
  • published7 Oct 2026
  • disclosed6 Oct 2026
  • creditba-am

Introduced: 6 Oct 2026

NewCVE-2026-106122  (opens in a new tab)
CWE-172  (opens in a new tab)

How to fix?

Upgrade com.rabbitmq:amqp-client to version 5.36.0 or higher.

Overview

Affected versions of this package are vulnerable to Encoding Error in ValueWriter.writeShortstr in com.rabbitmq.client.impl, reached because ValueReader.readShortstr substitutes U+FFFD for malformed UTF-8 bytes on decode, so each bad byte re-encodes to three and a 255 byte shortstr property grows to as much as 765 bytes, past the shortstr limit. A user with permission to publish to the RPC queue can permanently disable the consumer by sending one message carrying malformed UTF-8 in a shortstr property, which raises IllegalArgumentException out of RpcServer.mainloop(). The message is never acknowledged, so it requeues and disables in turn every consumer that takes it, including those re-established through RecordedConsumer.recover(), and service is not restored until an operator purges the queue.

CVSS Base Scores

version 4.0
version 3.1