Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-18609
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:30 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-18609
Complete source record
{
"id": "c15650e4f06b9e8a724ea7b507ddc8974f24fbab4f516498526e3755c044f0a8",
"url": "https://osv.dev/vulnerability/CVE-2019-18609",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-18609",
"summary": "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.",
"evidence": "osv:CVE-2019-18609",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2019-18609",
"aliases": [
"CVE-2019-18609"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/alanxz/rabbitmq-c",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ffe918a5fcef72038a88054dca3c56762b1953d4"
},
{
"fixed": "fc85be7123050b91b054e45b91c78d3241a5047a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rabbitmq-c_project:rabbitmq-c:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.10.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "fc85be7123050b91b054e45b91c78d3241a5047a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.9.0-master",
"v0.8.0",
"v0.7.1",
"v0.7.0",
"v0.6.0",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.0",
"v0.4.0-test",
"v0.3.0",
"rabbitmq-c-v0.3.0",
"v0.2",
"0.2",
"v0.1",
"librabbitmq-0.1-amqp_0_8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18609.json",
"vanir_signatures": [
{
"id": "CVE-2019-18609-10f09550",
"digest": {
"threshold": 0.9,
"line_hashes": [
"243814341639543304421666209824618441313",
"183455278906321621184992196995879566177",
"182357040532403947509468435054005069746",
"225885130475099735426407665019057949072",
"236275910161916524206322804826057425579",
"44673271485574882728132486074926918671"
]
},
"source": "https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a",
"target": {
"file": "librabbitmq/amqp_connection.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-18609-2c47032f",
"digest": {
"length": 3589,
"function_hash": "238469019489558242787949093743451899054"
},
"source": "https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a",
"target": {
"file": "librabbitmq/amqp_connection.c",
"function": "amqp_handle_input"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:45:05Z"
}
}
],
"modified": "2026-10-20T13:45:05.912489892Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WA7CPNVYMF6OQNIYNLWUY6U2GTKFOKH3/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQER6XTKYMHNQR7QTHW7DJAH645WQROU/",
"https://github.com/alanxz/rabbitmq-c/blob/master/ChangeLog.md",
"https://lists.debian.org/debian-lts-announce/2019/12/msg00004.html",
"https://security.gentoo.org/glsa/202003-07",
"https://usn.ubuntu.com/4214-1/",
"https://usn.ubuntu.com/4214-2/",
"https://news.ycombinator.com/item?id=21681976",
"https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "19.04"
},
{
"last_affected": "19.04"
},
{
"introduced": "19.10"
},
{
"last_affected": "19.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "30"
},
{
"last_affected": "30"
},
{
"introduced": "31"
},
{
"last_affected": "31"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-18609",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388044,
"published_at": "2019-12-01T22:15:10.897+00:00"
}