CVE-2019-18609

Source
https://cve.org/CVERecord?id=CVE-2019-18609
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18609.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-18609
Downstream
Related
Published
2019-12-01T22:15:10.897Z
Modified
2026-07-08T17:18:33.073398Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "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:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "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",
            "vendor_product": "canonical:ubuntu_linux"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux"
        },
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "30"
                },
                {
                    "last_affected": "30"
                },
                {
                    "introduced": "31"
                },
                {
                    "last_affected": "31"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/alanxz/rabbitmq-c

Affected ranges

Type
GIT
Repo
https://github.com/alanxz/rabbitmq-c
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.10.0"
        }
    ],
    "cpe": "cpe:2.3:a:rabbitmq-c_project:rabbitmq-c:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.2
librabbitmq-0.*
librabbitmq-0.1-amqp_0_8
rabbitmq-c-v0.*
rabbitmq-c-v0.3.0
v0.*
v0.1
v0.2
v0.3.0
v0.4.0
v0.4.0-test
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.7.0
v0.7.1
v0.8.0
v0.9.0-master

Database specific

vanir_signatures_modified
"2026-07-08T17:18:33Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18609.json"
vanir_signatures
[
    {
        "signature_type": "Line",
        "target": {
            "file": "librabbitmq/amqp_connection.c"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "243814341639543304421666209824618441313",
                "183455278906321621184992196995879566177",
                "182357040532403947509468435054005069746",
                "225885130475099735426407665019057949072",
                "236275910161916524206322804826057425579",
                "44673271485574882728132486074926918671"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2019-18609-10f09550",
        "source": "https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a",
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "librabbitmq/amqp_connection.c",
            "function": "amqp_handle_input"
        },
        "deprecated": false,
        "digest": {
            "length": 3589.0,
            "function_hash": "238469019489558242787949093743451899054"
        },
        "id": "CVE-2019-18609-2c47032f",
        "source": "https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a",
        "signature_version": "v1"
    }
]