{"id":"UBUNTU-CVE-2019-18609","details":"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.","modified":"2026-04-22T12:14:07.875163Z","published":"2019-12-01T22:15:00Z","related":["USN-4214-1","USN-4214-2"],"upstream":["CVE-2019-18609"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-18609"},{"type":"REPORT","url":"https://github.com/alanxz/rabbitmq-c/blob/master/ChangeLog.md"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4214-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4214-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-18609"}],"affected":[{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq@0.4.1-1ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1ubuntu0.1~esm1"}]}],"versions":["0.3.0-1","0.4.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"amqp-tools","binary_version":"0.4.1-1ubuntu0.1~esm1"},{"binary_name":"librabbitmq1","binary_version":"0.4.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18609.json"}},{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq@0.7.1-1ubuntu0.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1-1ubuntu0.2"}]}],"versions":["0.5.2-2","0.7.1-1","0.7.1-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"amqp-tools","binary_version":"0.7.1-1ubuntu0.2"},{"binary_name":"librabbitmq4","binary_version":"0.7.1-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18609.json"}},{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq@0.8.0-1ubuntu0.18.04.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-1ubuntu0.18.04.2"}]}],"versions":["0.8.0-1","0.8.0-1build1","0.8.0-1ubuntu0.18.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"amqp-tools","binary_version":"0.8.0-1ubuntu0.18.04.2"},{"binary_name":"librabbitmq4","binary_version":"0.8.0-1ubuntu0.18.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18609.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}