Heap-based buffer overflow in the Ins_SHZ function in ttinterp.c in FreeType 2.4.3 and earlier allows remote attackers to execute arbitrary
Heap-based buffer overflow in the Ins_SHZ function in ttinterp.c in FreeType 2.4.3 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via a crafted SHZ bytecode instruction, related to TrueType opcodes, as demonstrated by a PDF document with a crafted embedded font.
- Published
- Nov 26, 2010
- Updated
- Jun 16, 2026
- EPSS
- 3.9% · 90th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.9%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| freetype | freetype | cpe:2.3:a:freetype:freetype |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- freetype freetypeup to 2.4.3 inclusive
- freetype freetype1.3.1
- freetype freetype2.0.6
- freetype freetype2.0.9
- freetype freetype2.1
- freetype freetype2.1.10
- freetype freetype2.1.3
- freetype freetype2.1.4
- freetype freetype2.1.5
- freetype freetype2.1.6
- freetype freetype2.1.7
- freetype freetype2.1.8
- freetype freetype2.1.9
- freetype freetype2.2.0
- freetype freetype2.2.1
- freetype freetype2.2.10
- freetype freetype2.3.0
- freetype freetype2.3.1
- freetype freetype2.3.10
- freetype freetype2.3.11
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | freetype | before 2.4.2-2.1 | 2.4.2-2.1 |
| Debian:5.0 | freetype | before 2.3.7-2+lenny5 | 2.3.7-2+lenny5 |
| openSUSE:Tumbleweed | freetype2 | before 2.7-1.1 | 2.7-1.1 |
| openSUSE:Tumbleweed | ft2demos | before 2.7-1.1 | 2.7-1.1 |
Same product
freetype: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-27363An out of bounds write exists in FreeType versions 2.13.0 and below (newer versions of FreeType are not vulnerable) when attempting to parseKEV70This week
- CVE-2012-1126FreeType before 2.4.9, as used in Mozilla Firefox Mobile before 10.0.4 and other products, allows remote attackers to cause a denial of serv42Plan
- CVE-2022-27404FreeType commit 1e2eb65048f75c64b68708efed6ce904c31f3b2f was discovered to contain a heap buffer overflow via the function sfnt_init_face.40Plan
- CVE-2015-9290In FreeType before 2.6.1, a buffer over-read occurs in type1/t1parse.c on function T1_Get_Private_Dict where there is no check that the new 40Plan
- CVE-2017-8287FreeType 2 before 2017-03-26 has an out-of-bounds write caused by a heap-based buffer overflow related to the t1_builder_close_contour funct40Plan
- CVE-2017-8105FreeType 2 before 2017-03-24 has an out-of-bounds write caused by a heap-based buffer overflow related to the t1_decoder_parse_charstrings f40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:freetype | 2.4.2-2.1 · Debian:12 | Package registry (OSV) |
| opensuse:freetype2 | 2.7-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ft2demos | 2.7-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=602221
- git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=0edf0986f3be570f5bf90ff245a85c1675f5c9a4
- lists.apple.com/archives/security-announce/2010//Nov/msg00003.html
- lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- secunia.com/advisories/42314
- secunia.com/advisories/43138
- secunia.com/advisories/48951
- security-tracker.debian.org/tracker/CVE-2010-3814
- support.apple.com/kb/HT4456
- support.apple.com/kb/HT4581
- www.debian.org/security/2011/dsa-2155
- www.mandriva.com/security/advisories?name=MDVSA-2010:236
- www.securityfocus.com/bid/44643
- www.securitytracker.com/id?1024767
- www.ubuntu.com/usn/USN-1013-1
- www.vupen.com/english/advisories/2010/3046
- www.vupen.com/english/advisories/2011/0246
Vendor advisories and official records. Exploit/PoC links are deliberately left out.