CVE-2007-5381: 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 att…

CVE-2007-5381 affects 13 listed versions of Cisco IOS in the Dawnsentry catalogue.

9.3CVSS critical
None knownexploitation
15%EPSS (next 30 days)
12 October 2007published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Cisco IOS

13 of 225 listed versions are affected. No fixed release is named. The newest release, 15.9(3)M14, is not affected.

12.1(26)EB1 12.1(20)EW4 12.1(20)EW3 12.1(20)EW2 12.1(20)EW1 12.1(20)EW 12.1(20)EB 12.1(19)EW3 12.1(19)EW2 12.1(19)EW1 12.1(19)EW 12.1(19)EB 12.1(14)EB1

What it is

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.

AV:N/AC:M/Au:N/C:C/I:C/A:C (NVD)

Published by MITRE on 12 October 2007. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2007-5381 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.