ALPINE-CVE-2025-27363

Source
https://security.alpinelinux.org/vuln/CVE-2025-27363
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-27363.json
JSON Data
https://api.test.osv.dev/v1/vulns/ALPINE-CVE-2025-27363
Upstream
Published
2025-03-11T14:15:25Z
Modified
2025-09-26T00:23:27.319799Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.22 / freetype

Package

Name
freetype
Purl
pkg:apk/alpine/freetype?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.13.1-r0

Affected versions

2.*

2.3.8-r0
2.3.8-r1
2.3.12-r0
2.4.0-r0
2.4.1-r0
2.4.2-r0
2.4.3-r0
2.4.4-r0
2.4.4-r1
2.4.4-r2
2.4.4-r3
2.4.5-r0
2.4.5-r1
2.4.6-r0
2.4.7-r0
2.4.8-r0
2.4.9-r0
2.4.10-r0
2.4.11-r0
2.4.12-r0
2.5.0.1-r0
2.5.0.1-r1
2.5.1-r0
2.5.1-r1
2.5.1-r2
2.5.2-r0
2.5.2-r1
2.5.3-r0
2.5.4-r0
2.5.5-r0
2.6-r0
2.6-r1
2.6-r2
2.6-r3
2.6-r4
2.6.2-r0
2.6.3-r0
2.7-r0
2.7.1-r0
2.7.1-r1
2.8-r0
2.8-r1
2.8-r2
2.8-r3
2.8.1-r0
2.8.1-r1
2.8.1-r2
2.8.1-r3
2.9-r0
2.9-r1
2.9.1-r0
2.9.1-r1
2.9.1-r2
2.10.0-r0
2.10.1-r0
2.10.2-r0
2.10.3-r0
2.10.4-r0
2.10.4-r1
2.11.0-r0
2.11.1-r0
2.11.1-r1
2.12.1-r0
2.12.1-r1
2.13.0-r0
2.13.0-r1
2.13.0-r2
2.13.0-r3
2.13.0-r4
2.13.0-r5
2.13.0-r6