# CVE-2026-105042: Apache Qpid Proton C stack overflow in message body decoder

Source: https://junglewise.ai/threats/cve-2026-105042-a-message-body-that-is-deeply-nested-and-decoded-by-pn-message  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-29. Updated: 2026-10-29  
License: CC BY 4.0 with a link back

CVE-2026-105042 · Severity: info · Published 2026-10-29

Apache Qpid Proton C is a messaging library used to enable applications to send and receive AMQP messages. A deeply nested message body processed by the pn_message_body() function can trigger a stack overflow, causing the application to crash and resulting in denial of service.

Technologies: [Apache Qpid Proton C](https://junglewise.ai/threats/technologies/qpid-proton-c). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache).

## Quick answers

**Is CVE-2026-105042 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-105042 being exploited in the wild.

**How severe is CVE-2026-105042?** Informational severity, published 29 October 2026.

**Which products and versions are affected?** Apache Qpid Proton C through 0.40.0.

**Is there a fix for CVE-2026-105042?** Yes: fixed in 0.41.1. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-105042 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-105042?** Check whether you run Apache Qpid Proton C at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 0.41.1

## Technical details

A stack overflow vulnerability exists in the pn_message_body() decoder function when processing deeply nested message structures. An attacker can craft a specially formatted AMQP message with excessive nesting to exhaust the stack, causing a denial-of-service crash. The vulnerability requires network access to send a malicious message but no authentication or user interaction.

## Affected products

- Apache Qpid Proton C through 0.40.0

## Timeline

- 2026-10-29: disclosed

## References

- [https://lists.apache.org/thread.html/7v54gx7o1ptxcz3h9549w3h9oxo3ns28](https://lists.apache.org/thread.html/7v54gx7o1ptxcz3h9549w3h9oxo3ns28)

## Related threats

- [Apache Qpid Proton C stack read overflow in TLS certificate validation](https://junglewise.ai/threats/cve-2026-115942-a-misconfigured-wildcard-tls-certificate-causes-a-stack-read)
- [Apache Qpid Proton C SASL authentication bypass](https://junglewise.ai/threats/cve-2026-114230-when-dispatching-sasl-frames-to-authenticate-the-peer-proton)
- [Apache Qpid Proton C certificate validation bypass in TLS configuration](https://junglewise.ai/threats/cve-2026-105031-when-using-the-openssl-tls-implementation-both-the-pn-ssl-domain)
