CVE-2026-10649: Pacemaker: pacemaker: denial of service via integer overflow in remote message decompression

Published Apr 26, 2026
·
Updated

A flaw was found in Pacemaker. An unauthenticated remote attacker can exploit an integer overflow vulnerability in the remote message decompression process. By sending a specially crafted compressed remote message before authentication, an attacker can cause memory corruption, leading to a denial of service (DoS) in the CIB remote listener. This can result in the affected service crashing.

Other sources

AIONLYREPORT package: pacemaker-3.0.1-5.el10 ------ Summary: Integer Overflow in Remote Message Decompression: crafted pre-auth compressed remote messages can wrap size calculations before allocation, leading to memory corruption and denial of service in the CIB remote listener. Requirements to exploit: Network reachability to a pacemaker-based CIB remote listener configured with remote-port or remote-tls-port, and the ability to send a crafted compressed remote message before authentication. The reproduction below demonstrates the fault on a 32-bit build with a memory sanitizer. Component affected: pacemaker-3.0.1-5.el10, lib/common/remote.c, pcmkremotemessagexml(), with the pre-auth call path through the CIB remote listener in daemons/based/basedremote.c Version affected: pacemaker-3.0.1-5.el10 when the CIB remote listener is enabled; the supplied reproduction demonstrates impact on a 32-bit build Patch available: no released package fix established; proposed patch included below Version fixed: unknown Upstream coordination: Not notified. CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - 7.5 (HIGH) AV:N - The vulnerable parser is reachable over the network when the CIB remote listener is enabled. AC:L - The malformed header values and compressed payload are straightforward to construct. PR:N - The message is parsed before authentication. UI:N - No user interaction is required. S:U - The demonstrated impact is within the scope of the service handling the remote message. C:N - The available evidence does not establish unauthorized disclosure of data. I:N - The available evidence does not establish unauthorized modification of data. A:H - A crafted message can trigger memory corruption and crash the service during decompression. Impact: Important. Red Hat classifies flaws that allow remote users to cause a denial of service as Important. Here, an unauthenticated network client can reach the vulnerable parser before authentication and trigger a crash where the CIB remote listener is enabled. This is not Critical because the available evidence supports availability impact, not unauthenticated code execution or broader system compromise. Embargo: yes Reason: The issue is pre-auth and network-reachable when the listener is enabled, the malformed packet is straightforward to build, and no released fix is established yet. Acknowledgement: Aisle Research Vulnerability Details: In the remote message decompression path, attacker-controlled header values are used in size calculations before allocation: c if (header->payloadcompressed) { int rc = 0; unsigned int sizeu = 1 + header->payloaduncompressed; char uncompressed = pcmkassertalloc(1, header->payloadoffset + sizeu); ... rc = BZ2bzBuffToBuffDecompress(uncompressed + header->payloadoffset, &sizeu, remote->buffer + header->payloadoffset, header->payloadcompressed, 1, 0); payloadoffset, payloadcompressed, and payloaduncompressed are taken from the received remote message header, and there are no preceding bounds or consistency checks on these fields before sizeu and the allocation length are derived. A crafted message can therefore cause 1 + payloaduncompressed or payloadoffset + sizeu to wrap before allocation, leaving a small destination buffer while the decompressor is still asked to produce a much larger output region. This parsing occurs before client authentication on the CIB remote listener, so an unauthenticated client that can reach that listener can trigger the vulnerable path before cibremoteauth() completes. The available evidence supports a denial-of-service outcome through memory corruption and crash. It does not establish confidentiality, integrity, or code-execution impact, so those effects should be treated as unproven. Steps to reproduce: 1. Build and run a 32-bit pacemaker-based with ASan or another memory sanitizer, and enable remote-port or remote-tls-port. 2. Connect to the CIB remote listener and send one packet with payloadoffset = 0x00000028, payloaduncompressed = 0xFFFFFFC0, payloadcompressed = len(bz2payload) where bz2payload = bz2.compress(b"A"512 + b"\x00"), and sizetotal = payloadoffset + payloadcompressed. 3. Send the header and bz2payload as a single remote message. 4. Observe an out-of-bounds write or crash inside or immediately around BZ2bzBuffToBuffDecompress() from pcmkremotemessagexml() before authentication completes. Note: payloaduncompressed = UINT32MAX alone is not the best trigger. Values near UINT32MAX that make payloadoffset + (1 + payloaduncompressed) wrap are the more reliable case. Mitigation: Disable the CIB remote listener where it is not required. If it must remain enabled, restrict network access to trusted peers only. These steps reduce exposure but do not correct the underlying validation flaw. Proposed Fix: Validate header layout and sizes before decompression, and use overflow-safe arithmetic for the allocation size. diff diff --git a/lib/common/remote.c b/lib/common/remote.c @@ -300,10 +300,34 @@ pcmkremotemessagexml(pcmkremotet remote) / Support compression on the receiving end now, in case we ever want to add it later / if (header->payloadcompressed) { int rc = 0; unsigned int sizeu = 1 + header->payloaduncompressed;

char uncompressed =

pcmkassertalloc(1, header->payloadoffset + sizeu); + sizet allocsize = 0; + unsigned int sizeu = 0; + char uncompressed = NULL; + + if (header->payloadoffset < sizeof(struct remoteheaderv0)) { + crmerr("Invalid remote payload offset %u", header->payloadoffset); + return NULL; + } + if (((sizet) header->payloadoffset + (sizet) header->payloadcompressed) + != (sizet) header->sizetotal) { + crmerr("Invalid remote payload sizing"); + return NULL; + } + if ((sizet) header->sizetotal > remote->bufferoffset) { + crmerr("Incomplete remote message buffer"); + return NULL; + } + if (header->payloaduncompressed >= UINTMAX) { + crmerr("Invalid remote uncompressed size %u", header->payloaduncompressed); + return NULL; + } + + sizeu = header->payloaduncompressed + 1U; + if ((sizet) header->payloadoffset > (SIZEMAX - (sizet) sizeu)) { + crmerr("Remote payload size overflow"); + return NULL; + } + allocsize = (sizet) header->payloadoffset + (sizet) sizeu; + uncompressed = pcmkassertalloc(1, allocsize);

crmtrace("Decompressing message data %d bytes into %d bytes", header->payloadcompressed, sizeu); ------ This report was generated using AI technology. Always review AI-generated content prior to use

Red Hat

Affected Software

1 affected component
redhat/pacemaker=3.0.1-5.el10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    If the CIB remote listener is enabled, restrict exposure by disabling it: ensure `remote-port` and/or `remote-tls-port` are not enabled unless needed, because the malformed packet is reachable over the network before authentication.

    Pacemaker CIB remote listener (based_remote.c) remote-port / remote-tls-port = disable
  2. Compensating control

    Mitigation: Disable the CIB remote listener where it is not required (the report explicitly recommends disabling the CIB remote listener to reduce exposure for the pre-auth remote message decompression path).

  3. Compensating control

    Restrict network access to trusted peers only for the CIB remote listener (the text notes that steps reduce exposure by restricting network access to trusted peers only, even though they do not correct the underlying validation flaw).

Event History

Apr 26, 2026
Data Sourced
via Red Hat·08:09 PM
DescriptionSeverityAffected Software
Jun 16, 2026
CVE Published
via MITRE·03:57 PM
Data Sourced
via MITRE·03:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-10649?

The severity of CVE-2026-10649 is rated high with a score of 8.6.

2

What is the impact of CVE-2026-10649?

CVE-2026-10649 can lead to memory corruption and cause a denial of service.

3

Who can exploit CVE-2026-10649?

An unauthenticated remote attacker can exploit CVE-2026-10649.

4

How does CVE-2026-10649 work?

CVE-2026-10649 involves an integer overflow vulnerability during the decompression of remote messages.

5

How do I fix CVE-2026-10649?

To fix CVE-2026-10649, update to the latest version of ClusterLabs Pacemaker that addresses this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203