CVE-2005-2709 Use after free in n/a

Medium 4.6 Published Updated

Local attackers can trigger a use-after-free in the Linux kernel sysctl interface to cause a denial of service or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2005-2709?

CVE-2005-2709 is a medium-severity use after free vulnerability in Linux kernel, published on 20 Nov 2005. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The sysctl functionality (sysctl.c) in Linux kernel before 2.6.14.1 allows local users to cause a denial of service (kernel oops) and possibly execute code by opening an interface file in /proc/sys/net/ipv4/conf/, waiting until the interface is unregistered, then obtaining and modifying function pointers in memory that was used for the ctl_table.

Weakness: CWE-399

Which versions are affected by CVE-2005-2709?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2005-2709?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2005-2709 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-2709 exists.

Public exploit code: 1 Exploit-DB entry.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-99j2-m6h7-666q.

Is CVE-2005-2709 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free