CVE-2005-4474 Memory corruption in n/a

Medium 5.1 Published Updated

A buffer overflow in WinRAR allows attackers to cause a crash or potentially execute code by tricking users into adding files with specific non-ANSI filenames.

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
None listed

What is CVE-2005-4474?

CVE-2005-4474 is a medium-severity memory corruption vulnerability in n/a, published on 22 Dec 2005. 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

Buffer overflow in the "Add to archive" command in WinRAR 3.51 allows user-assisted attackers to cause a denial of service (crash) and possibly execute arbitrary code by tricking the user into adding a file whose filename contains a non-default code page and non-ANSI characters, as demonstrated using a Chinese filename, possibly due to buffer expansion when using the WideCharToMultiByte API. NOTE: it is not clear whether this problem can be exploited for code execution. If not, then perhaps the user-assisted nature of the attack should exclude the issue from inclusion in CVE.

Which versions are affected by CVE-2005-4474?

It affects 1 product.

Products include Rarlab Winrar.

How do I fix CVE-2005-4474?

No fix has been published for CVE-2005-4474 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2005-4474 being exploited?

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

Sources

Also known as GHSA-4482-cr2p-675v.

Is CVE-2005-4474 in your software?

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

Check your SBOMs for free