CVE-2026-43107CWE-131

CVE-2026-43107

Medium · published May 6, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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

xfrm: account XFRMA_IF_ID in aevent size calculation

xfrm_get_ae() allocates the reply skb with xfrm_aevent_msgsize(), then

build_aevent() appends attributes including XFRMA_IF_ID when x->if_id is

set.

xfrm_aevent_msgsize() does not include space for XFRMA_IF_ID. For states

with if_id, build_aevent() can fail with -EMSGSIZE and hit BUG_ON(err < 0)

in xfrm_get_ae(), turning a malformed netlink interaction into a kernel

panic.

Account XFRMA_IF_ID in the size calculation unconditionally and replace

the BUG_ON with normal error unwinding.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.0th percentile
Weakness
CWE-131 · Incorrect Calculation of Buffer Size
Published
2026-05-06T14:16Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 4.19, < 6.12.836.12.83
linux/linux_kernel≥ 6.13, < 6.18.246.18.24
linux/linux_kernel≥ 6.19, < 6.19.146.19.14
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 06 MAY 07:40Z
    xfrm: account XFRMA_IF_ID in aevent size calculation
    cvelistv5