# CVE-2026-107386: amqp091-go: Pre-negotiation frame limit is not enforced to 4KB

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-08T18:54:12.465Z
- Modified: 2026-10-19T21:41:15.822Z
- Also known as: GHSA-w6r9-248c-frg8, GO-2026-6700
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

amqp091-go is a Go AMQP 0.9.1 client. From 1.13.0 until 1.14.0, the frame-size mitigation from the prior allocation advisory can be bypassed before connection.tune completes because Connection.maxFrameSize uses zero for both the not-yet-negotiated and negotiated-unlimited states. A malicious or compromised AMQP peer can send a short body-frame header with a large declared payload length, causing ReadFrame and the body-frame parser to allocate attacker-selected memory before the payload is received or the frame's protocol state is rejected. The condition is reachable through public Open even when Config.FrameSize is set to the protocol minimum and can cause severe memory pressure, out-of-memory termination, or loss of the client process before authentication completes. This issue is fixed in version 1.14.0.

(As written by CVE List.)

## Affected

- rabbitmq amqp091-go: >= 1.13.0, < 1.14.0
- github.com/rabbitmq/amqp091-go (Go): before 1.14.0

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/rabbitmq/amqp091-go/security/advisories/GHSA-w6r9-248c-frg8> (advisory, web)
- <https://github.com/rabbitmq/amqp091-go/pull/377> (fix, web)
- <https://github.com/rabbitmq/amqp091-go/commit/6723e8cff8710f0a6bf5fb4af375e285052535b3> (fix, web)
- <https://github.com/rabbitmq/amqp091-go/releases/tag/v1.14.0> (web)
- <https://github.com/rabbitmq/amqp091-go> (package)

## Sources

- CVE List: [CVE-2026-107386](https://www.cve.org/CVERecord?id=CVE-2026-107386), CVE Terms of Use, modified 2026-10-09
- GitHub Advisory Database: [GHSA-w6r9-248c-frg8](https://github.com/advisories/GHSA-w6r9-248c-frg8), CC-BY-4.0, modified 2026-10-19
- Go Vulnerability Database: [GO-2026-6700](https://pkg.go.dev/vuln/GO-2026-6700), CC-BY-4.0, modified 2026-10-19
- NVD: [CVE-2026-107386](https://nvd.nist.gov/vuln/detail/CVE-2026-107386), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-107386 · Whole record: https://cve.day/CVE-2026-107386.json · Rebuilt by cve.day 2026-11-25T22:59:43.213Z
