Out-of-bounds Write Affecting rabbitmq-c package, versions [,0.10.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.26% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-RABBITMQC-10078255
  • published8 May 2025
  • disclosed1 Dec 2019
  • creditUnknown

Introduced: 1 Dec 2019

CVE-2019-18609  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade rabbitmq-c to version 0.10.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

CVSS Base Scores

version 3.1