Description
Incorrect Calculation of Buffer Size vulnerability in Apache NimBLE when processing Legacy Advertising Report HCI event.

When a single HCI advertising report event bundles multiple reports, NimBLE miscalculated the offset to the next report. This can cause the host to read past the end of the buffer and deliver a GAP event with bogus data to the application.

Severity is low: NimBLE's own controller never batches multiple reports into one event, so this only matters when NimBLE's host is paired with a third-party controller that does.

This issue affects Apache NimBLE: through 1.9.0.

Users are recommended to upgrade to version 1.10.0, which fixes the issue.
Published: 2026-07-24
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

NimBLE miscalculates the buffer offset when processing a Legacy Advertising Report HCI event that contains multiple reports. This bug results in an out‑of‑bounds read, producing a GAP event with incorrect data. The weakness is a classic heap corruption scenario described by CWE‑131, where the size of a buffer is incorrectly determined. This vulnerability does not enable direct code execution or privilege escalation; its effect is confined to data integrity and availability of the BLE stack. The attack vector is inferred to involve a crafted advertising packet supplied by a third‑party controller that batches reports into a single HCI event, which is a non‑native behavior of NimBLE. The vulnerability might cause data corruption or a denial of service when the application consumes the malformed GAP event.

Affected Systems

Apache NimBLE releases up to and including 1.9.0 are affected. The improper buffer size calculation is present in all versions through 1.9.0. Users are advised to upgrade to Apache NimBLE 1.10.0 or later, where the calculation has been corrected. The defect is relevant only when NimBLE’s host is paired with a third‑party controller that groups multiple advertising reports into a single event.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, while the EPSS score of less than 1% suggests a very low likelihood of exploitation. This vulnerability is not listed in the CISA KEV catalog. Exploitation requires the presence of a third‑party controller that bundles multiple advertising reports, a scenario that is uncommon in most deployments. Consequently, the overall risk to a system is low, but the impact could be significant if the host processes malformed GAP events.

Generated by OpenCVE AI on August 3, 2026 at 20:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache NimBLE to version 1.10.0 or later.
  • Ensure third‑party controllers do not batch multiple advertising reports into a single HCI event.
  • Monitor GAP event handling for anomalous data and apply future patches as they become available.

Generated by OpenCVE AI on August 3, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 27 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache nimble
Vendors & Products Apache
Apache nimble

Fri, 24 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description Incorrect Calculation of Buffer Size vulnerability in Apache NimBLE when processing Legacy Advertising Report HCI event. When a single HCI advertising report event bundles multiple reports, NimBLE miscalculated the offset to the next report. This can cause the host to read past the end of the buffer and deliver a GAP event with bogus data to the application. Severity is low: NimBLE's own controller never batches multiple reports into one event, so this only matters when NimBLE's host is paired with a third-party controller that does. This issue affects Apache NimBLE: through 1.9.0. Users are recommended to upgrade to version 1.10.0, which fixes the issue.
Title Apache NimBLE: OOB Read via sizeof(pointer) in Legacy Advertising Report Handler
Weaknesses CWE-131
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-24T18:16:48.556Z

Reserved: 2026-05-13T08:56:54.914Z

Link: CVE-2026-45812

cve-icon Vulnrichment

Updated: 2026-07-24T14:34:44.102Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-24T13:18:23.967

Modified: 2026-07-27T14:41:19.450

Link: CVE-2026-45812

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T20:30:04Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size