CVE-2005-2456
Array index overflow in the xfrm_sk_policy_insert function in xfrm_user.c in Linux kernel 2.6 allows local users to cause a denial of…
Check your servers for CVE-2005-2456
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-2005-2456 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Array index overflow in the xfrm_sk_policy_insert function in xfrm_user.c in Linux kernel 2.6 allows local users to cause a denial of service (oops or deadlock) and possibly execute arbitrary code via a p->dir value that is larger than XFRM_POLICY_OUT, which is used as an index in the sock->sk_policy array.
Exploitation
EPSS 0.37%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.4% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2005-2456 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2005-2456RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2005-2456Alpine
apk list --installed | grep -i PACKAGEWith 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-2005-2456
trivy image --scanners vuln IMAGE | grep CVE-2005-2456
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
Advisories
- SUSE-SA:2005:050 novell.com · vendor advisory
- 18056 secunia.com · third party advisory
- USN-169-1 usn.ubuntu.com · vendor advisory
- 16500 secunia.com · third party advisory
- MDKSA-2005:220 mandriva.com · vendor advisory
- 17073 secunia.com · third party advisory
- 18059 secunia.com · third party advisory
- DSA-922 debian.org · vendor advisory
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=blobdiff%3Bh=8da3e25b2c4c1f305fd85428d3a9eb62b543bfba%3Bhp=ecade4893a139cc35d4fe345ce70242ede5358c4%3Bhb=a4f1bac62564049ea4718c4624b0fadc9f597c84%3Bf=net/xfrm/xfrm_user.c kernel.org
- DSA-921 debian.org · vendor advisory
- RHSA-2005:514 redhat.com · vendor advisory
- http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=a4f1bac62564049ea4718c4624b0fadc9f597c84 kernel.org
6 more
- 17002 secunia.com · third party advisory
- 17826 secunia.com · third party advisory
- 16298 secunia.com · third party advisory
- FLSA:157459-3 securityfocus.com · vendor advisory
- RHSA-2005:663 redhat.com · vendor advisory
- MDKSA-2005:219 mandriva.com · vendor advisory
Other references
- oval:org.mitre.oval:def:10858 oval.cisecurity.org · vdb entry, signature
- linux-kernel-xfrm-dos(21710) exchange.xforce.ibmcloud.com · vdb entry
- 14477 securityfocus.com · vdb entry
- http://www.mail-archive.com/netdev%40vger.kernel.org/msg00520.html mail-archive.com
- ADV-2005-1878 vupen.com · vdb entry
Source: the record CVE-2005-2456 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse