{"id":"CVE-2025-27363","kind":"vulnerability","aliases":["CVE-2025-27363"],"related":[],"title":"An out of bounds write exists in FreeType versions 2.13.0 and below (newer versions of FreeType are not vulnerable)…","description":"An out of bounds write exists in FreeType versions 2.13.0 and below (newer versions of FreeType are not vulnerable) when attempting to parse font subglyph structures related to TrueType GX and variable font files. The vulnerable code assigns a signed short value to an unsigned long and then adds a static value causing it to wrap around and allocate too small of a heap buffer. The code then writes up to 6 signed long integers out of bounds relative to this buffer. This may result in arbitrary code execution. This vulnerability may have been exploited in the wild.","summary":"FreeType, the font rendering library used by many apps and operating systems, has an out-of-bounds write when parsing TrueType GX and variable font subglyph data. A crafted font file can let an attacker run arbitrary code in the process that opens it.","severity":"high","cvss":8.1,"epss":null,"exploited":true,"exploited_at":"2025-05-06T00:00:00+00:00","products":[{"name":"FreeType FreeType","fixed":[],"affected":"","ecosystem":"vendor"},{"name":"freetype","fixed":[],"affected":"<= 2.13.0","ecosystem":"vendor"},{"name":"debian linux","fixed":[],"affected":"= 11.0","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["embedded","exploited","freetype","linux","package","self-hosted"],"not_affected_if":["no-untrusted-fonts"],"how_to_check":null,"fix":null,"status":"open","published_at":"2025-03-11T14:15:25+00:00","first_seen_at":"2026-10-23T19:11:51+00:00","triaged_at":"2026-10-23T20:48:39+00:00","updated_at":"2026-10-23T22:29:05+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-23T20:48:39Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"unknown","summary":"FreeType, the font rendering library used by many apps and operating systems, has an out-of-bounds write when parsing TrueType GX and variable font subglyph data. A crafted font file can let an attacker run arbitrary code in the process that opens it.","category":"package","who_cares":["freetype","linux","embedded","self-hosted"],"confidence":0.6,"needs_auth":"no","worst_case":"Attacker runs arbitrary code when a victim renders a malicious font file","analyst_note":"Sources give no fixed version or mitigation; check the FreeType advisory and the CISA KEV entry for the patched release and vendor mitigation steps.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["no-untrusted-fonts"],"user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000413,"input_tokens":2537,"output_tokens":318,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2025':21A,24A '-27363':22A,25A '2.13.0':10A,92C '6':154C 'add':131C 'alloc':141C 'app':47B 'arbitrari':76B,169C 'around':139C 'assign':120C 'attack':74B 'attempt':103C 'bound':4A,56B,86C,160C 'buffer':147C,164C 'caus':135C 'code':77B,119C,149C,170C 'craft':68B 'cve':20A,23A 'data':66B 'debian':29A 'embed':31B 'execut':171C 'exist':6A,88C 'exploit':32B,177C 'file':70B,116C 'font':41B,64B,69B,106C,115C 'freetyp':8A,16A,33B,39B,90C,98C 'freetype':26A,27A,28A 'gx':61B,112C 'heap':146C 'host':38B 'integ':157C 'let':72B 'librari':43B 'linux':30A,34B 'long':128C,156C 'mani':46B 'may':166C,174C 'newer':13A,95C 'open':82B 'oper':49B 'out-of-bound':53B 'packag':35B 'pars':59B,105C 'process':80B 'relat':109C,161C 'render':42B 'result':167C 'run':75B 'self':37B 'self-host':36B 'short':123C 'sign':122C,155C 'small':143C 'static':133C 'structur':108C 'subglyph':65B,107C 'system':50B 'truetyp':60B,111C 'unsign':127C 'use':44B 'valu':124C,134C 'variabl':63B,114C 'version':9A,14A,91C,96C 'vulner':19A,101C,118C,173C 'wild':180C 'wrap':138C 'write':5A,57B,87C,151C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2025-03-11T14:15:25+00:00","kev":{"dateAdded":"2025-05-06","dueDate":"2025-05-27","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"cve-assign@fb.com","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2025-27363","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-27363","severity":null,"published_at":"2025-05-06T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:51+00:00","fetched_at":"2026-10-25T11:39:14+00:00","note":null},{"source":"nvd","external_id":"CVE-2025-27363","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27363","severity":null,"published_at":"2025-03-11T14:15:25+00:00","modified_at":"2026-06-17T09:03:27+00:00","first_seen_at":"2026-10-23T22:29:05+00:00","fetched_at":"2026-10-23T22:29:05+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}