CVE-2007-5381 Memory corruption in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary code on Cisco IOS devices via a stack-based buffer overflow in the Line Printer Daemon.

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

What is CVE-2007-5381?

CVE-2007-5381 is a critical memory corruption vulnerability in Cisco Ios, published on 12 Oct 2007. 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 Line Printer Daemon (LPD) in Cisco IOS before 12.2(18)SXF11, 12.4(16a), and 12.4(2)T6 allow remote attackers to execute arbitrary code by setting a long hostname on the target system, then causing an error message to be printed, as demonstrated by a telnet session to the LPD from a source port other than 515.

Weakness: CWE-119

Which versions are affected by CVE-2007-5381?

It affects 1 product.

Products include Cisco Ios.

How do I fix CVE-2007-5381?

No fix has been published for CVE-2007-5381 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-2007-5381 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Cisco Ios vulnerabilities

Sources

Also known as GHSA-7g8w-349p-fmqf.

Is CVE-2007-5381 in your software?

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

Check your SBOMs for free