Integer Overflow or Wraparound Affecting bpftool package, versions <0:4.18.0-305.184.1.el8_4


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (15th 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-RHEL8-BPFTOOL-15522600
  • published13 Mar 2026
  • disclosed6 Dec 2025

Introduced: 6 Dec 2025

CVE-2025-40277  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:8 bpftool to version 0:4.18.0-305.184.1.el8_4 or higher.
This issue was patched in RHSA-2026:1886.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bpftool package and not the bpftool package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE

This data originates from userspace and is used in buffer offset calculations which could potentially overflow causing an out-of-bounds access.

CVSS Base Scores

version 3.1