CVE-2009-4020 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Linux kernel HFS subsystem via a crafted filesystem, potentially causing code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2009-4020?

CVE-2009-4020 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Dec 2009. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Stack-based buffer overflow in the hfs subsystem in the Linux kernel 2.6.32 allows remote attackers to have an unspecified impact via a crafted Hierarchical File System (HFS) filesystem, related to the hfs_readdir function in fs/hfs/dir.c.

Weakness: CWE-119

Which versions are affected by CVE-2009-4020?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2009-4020?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2009-4020 being exploited?

There is no known exploitation of CVE-2009-4020 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-qwp9-6w2r-7cq2.

Is CVE-2009-4020 in your software?

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

Check your SBOMs for free