CVE-2005-3120 Memory corruption in n/a

Critical 9.8 Published Updated

Remote NNTP servers can execute arbitrary code on Lynx users via crafted article headers causing a stack-based buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2005-3120?

CVE-2005-3120 is a critical memory corruption vulnerability in Debian Debian Linux, published on 17 Oct 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack-based buffer overflow in the HTrjis function in Lynx 2.8.6 and earlier allows remote NNTP servers to execute arbitrary code via certain article headers containing Asian characters that cause Lynx to add extra escape (ESC) characters.

Weakness: CWE-131

Which versions are affected by CVE-2005-3120?

It affects 2 products.

Linux distribution packages (16)
lynx Red Hat:enterprise_linux:3::asAll versions0:2.8.5-11.1
lynx-debuginfo Red Hat:enterprise_linux:3::asAll versions0:2.8.5-11.1
lynx Red Hat:enterprise_linux:3::desktopAll versions0:2.8.5-11.1
lynx-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:2.8.5-11.1
lynx Red Hat:enterprise_linux:3::esAll versions0:2.8.5-11.1
lynx-debuginfo Red Hat:enterprise_linux:3::esAll versions0:2.8.5-11.1
lynx Red Hat:enterprise_linux:3::wsAll versions0:2.8.5-11.1
lynx-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:2.8.5-11.1
lynx Red Hat:enterprise_linux:4::asAll versions0:2.8.5-18.1
lynx-debuginfo Red Hat:enterprise_linux:4::asAll versions0:2.8.5-18.1
lynx Red Hat:enterprise_linux:4::desktopAll versions0:2.8.5-18.1
lynx-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:2.8.5-18.1
lynx Red Hat:enterprise_linux:4::esAll versions0:2.8.5-18.1
lynx-debuginfo Red Hat:enterprise_linux:4::esAll versions0:2.8.5-18.1
lynx Red Hat:enterprise_linux:4::wsAll versions0:2.8.5-18.1
lynx-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:2.8.5-18.1

Products include Debian Debian Linux, Invisible-Island Lynx.

How do I fix CVE-2005-3120?

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-2005-3120 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2005-3120, DSA-1085-1, DSA-874-1, DSA-876-1, GHSA-c6vg-33v6-g8vm, RHSA-2005:803.

Is CVE-2005-3120 in your software?

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

Check your SBOMs for free