CVE-2010-1797
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Apple iOS - '.pdf' Local Privilege Escalation 'Jailbreak'
Foxit Reader 4.0 - '.pdf' Multiple Stack Based Buffer Overflow 'Jailbreak'
OS impact
macOS Affected 26 releases
| Version | Status | Fixed in |
|---|---|---|
| 4.0.1 | Affected | โ |
| 4.0 | Affected | โ |
| 3.2.1 | Affected | โ |
| 3.2 | Affected | โ |
| 3.1.3 | Affected | โ |
| 3.1.2 | Affected | โ |
| 3.1 | Affected | โ |
| 3.0.1 | Affected | โ |
| 3.0 | Affected | โ |
| 2.2.1 | Affected | โ |
| 2.2 | Affected | โ |
| 2.1.1 | Affected | โ |
| 2.1 | Affected | โ |
| 2.0.2 | Affected | โ |
| 2.0.1 | Affected | โ |
| 2.0.0 | Affected | โ |
| 2.0 | Affected | โ |
| 1.1.5 | Affected | โ |
| 1.1.4 | Affected | โ |
| 1.1.3 | Affected | โ |
| 1.1.2 | Affected | โ |
| 1.1.1 | Affected | โ |
| 1.1.0 | Affected | โ |
| 1.0.2 | Affected | โ |
| 1.0.1 | Affected | โ |
| 1.0.0 | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.4.2-1 |
| sid | Fixed | 2.4.2-1 |
| forky | Fixed | 2.4.2-1 |
| bullseye | Fixed | 2.4.2-1 |
| bookworm | Fixed | 2.4.2-1 |
References
- http://freetype.sourceforge.net/index2.html#release-freetype-2.4.2
- http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=018f5c27813dd7eef4648fe254632ecea0c85a50
- http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=11d65e8a1f1f14e56148fd991965424d9bd1cdbc
- http://lists.apple.com/archives/security-announce/2010//Aug/msg00000.html
- http://lists.apple.com/archives/security-announce/2010//Aug/msg00001.html
- http://osvdb.org/66828
- http://secunia.com/advisories/40807
- http://secunia.com/advisories/40816
- http://secunia.com/advisories/40982
- http://secunia.com/advisories/48951
- http://sourceforge.net/projects/freetype/files/freetype2/2.4.2/NEWS/view
- http://support.apple.com/kb/HT4291
- http://support.apple.com/kb/HT4292
- http://www.exploit-db.com/exploits/14538
- http://www.f-secure.com/weblog/archives/00002002.html
- http://www.securityfocus.com/bid/42151
- http://www.ubuntu.com/usn/USN-972-1
- http://www.vupen.com/english/advisories/2010/2018
- http://www.vupen.com/english/advisories/2010/2106
- https://bugs.launchpad.net/ubuntu/maverick/+source/freetype/+bug/617019
- https://bugzilla.redhat.com/show_bug.cgi?id=621144
- https://exchange.xforce.ibmcloud.com/vulnerabilities/60856
- https://security-tracker.debian.org/tracker/CVE-2010-1797
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.