Vulnerabilities / CVE-2019-18609

critical

CVE-2019-18609

librabbitmq: integer overflow in amqp_handle_input in amqp_connection.c leads to heap-based buffer overflow

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), AlmaLinux (medium), Amazon (medium), Oracle (medium), Ubuntu (medium).

Description

An issue was discovered in amqp_handle_input in amqp_connection.c in rabbitmq-c 0.9.0. There is an integer overflow that leads to heap memory corruption in the handling of CONNECTION_STATE_HEADER. A rogue server could return a malicious frame header that leads to a smaller target_size value than needed. This condition is then carried on to a memcpy function that copies too much data into a heap buffer.

Affected packages and fixed versions

SourcePackageFixed in
alma 8librabbitmq-devel0.9.0-2.el8
amazon linux 1librabbitmq, librabbitmq-debuginfo, librabbitmq-devel0.1-0.2.hgfb6fca832fd2.3.amzn1
debian 10librabbitmqno fix listed
debian 11librabbitmq0.10.0-1
debian 12librabbitmq0.10.0-1
debian 13librabbitmq0.10.0-1
debian 14librabbitmq0.10.0-1
debian 8librabbitmq0.5.2-2+deb8u1
debian 9librabbitmqno fix listed
echolibrabbitmq0.10.0-1
Oracle Linux 7librabbitmq, librabbitmq-devel, librabbitmq-examples0.8.0-3.el7
Oracle Linux 8librabbitmq, librabbitmq-devel0.9.0-2.el8
Show all 26 entries from 20 sources
SourcePackageFixed in
alma 8librabbitmq-devel0.9.0-2.el8
amazon linux 1librabbitmq0.1-0.2.hgfb6fca832fd2.3.amzn1
amazon linux 1librabbitmq-debuginfo0.1-0.2.hgfb6fca832fd2.3.amzn1
amazon linux 1librabbitmq-devel0.1-0.2.hgfb6fca832fd2.3.amzn1
debian 10librabbitmqno fix listed
debian 11librabbitmq0.10.0-1
debian 12librabbitmq0.10.0-1
debian 13librabbitmq0.10.0-1
debian 14librabbitmq0.10.0-1
debian 8librabbitmq0.5.2-2+deb8u1
debian 9librabbitmqno fix listed
echolibrabbitmq0.10.0-1
Oracle Linux 7librabbitmq0.8.0-3.el7
Oracle Linux 7librabbitmq-devel0.8.0-3.el7
Oracle Linux 7librabbitmq-examples0.8.0-3.el7
Oracle Linux 8librabbitmq0.9.0-2.el8
Oracle Linux 8librabbitmq-devel0.9.0-2.el8
Red Hatlibrabbitmqno fix listed
Red Hatlibrabbitmq-toolsno fix listed
ubuntu 14.04-ESMlibrabbitmq0.4.1-1ubuntu0.1~esm1
ubuntu 16.04librabbitmq0.7.1-1ubuntu0.2
ubuntu 16.04-ESMlibrabbitmq0.7.1-1ubuntu0.2
ubuntu 18.04librabbitmq0.8.0-1ubuntu0.18.04.2
ubuntu 18.04-ESMlibrabbitmq0.8.0-1ubuntu0.18.04.2
ubuntu 19.04librabbitmq0.9.0-0.2ubuntu0.19.04.1
ubuntu 19.10librabbitmq0.9.0-0.2ubuntu0.19.10.1

References

All 16 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.