CVE-2023-53684

xfrm: Zero padding when dumping algos and encap

No CVSS score yet EPSS 0.15%

Published 7 Oct 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2023-53684

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53684 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

xfrm: Zero padding when dumping algos and encap

When copying data to user-space we should ensure that only valid data is copied over. Padding in structures may be filled with random (possibly sensitve) data and should never be given directly to user-space.

This patch fixes the copying of xfrm algorithms and the encap template in xfrm_user so that padding is zeroed.

Exploitation

EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.27% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c7a5899eb26e2a4d516d53f65b6dd67be2228041, before 0725daaa9a879388ed312110f62dbd5ea2d75f8f
affected from c7a5899eb26e2a4d516d53f65b6dd67be2228041, before 5218af4ad5d8948faac19f71583bcd786c3852df
affected from c7a5899eb26e2a4d516d53f65b6dd67be2228041, before 1a351e26cc010d6991fbbd5701ac16581372e26f
affected from c7a5899eb26e2a4d516d53f65b6dd67be2228041, before 8222d5910dae08213b6d9d4bc9a7f8502855e624
Other versions: unaffected
Linux
affected 5.11
unaffected before 5.11
unaffected from 5.15.106 up to and including 5.15.*
unaffected from 6.1.23 up to and including 6.1.*
unaffected from 6.2.10 up to and including 6.2.*
unaffected 6.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53684 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53684

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53684
trivy image --scanners vuln IMAGE | grep CVE-2023-53684

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53684 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.