CVE-2026-77408: RabbitMQ amqp091-go: Silent Data Truncation and State Corruption via Shortstr Integer Overflow
A data integrity and protocol corruption vulnerability exists in the AMQP client’s property serialization logic. When encoding AMQP short string (shortstr) fields—such as identifiers, routing strings, and content metadata—the length of the string is explicitly cast to a fixed-size 8-bit unsigned integer (uint8).
If an application provides a property string exceeding 255 bytes, the length counter silently wraps around (e.g., a length of 300 wraps to 44). As a result, the parser writes only a truncated portion of the string into the outgoing connection buffer without returning an error. This leads to silent data corruption, broken RPC routing, and unpredictable broker-side state behavior.
References
- github.com/advisories/GHSA-j497-x9hr-x34x
- github.com/rabbitmq/amqp091-go/commit/6959423aa2784a1971e399175dfb2065dea0f3b0
- github.com/rabbitmq/amqp091-go/pull/354
- github.com/rabbitmq/amqp091-go/releases/tag/v1.13.0
- github.com/rabbitmq/amqp091-go/security/advisories/GHSA-j497-x9hr-x34x
- nvd.nist.gov/vuln/detail/CVE-2026-77408
Code Behaviors & Features
Detect and mitigate CVE-2026-77408 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →