# CVE-2026-34085: fontconfig before 2.17.1 has an off-by-one error in allocation during sfnt capability handling, leading to a one-byte out-of-bounds write,…

- Severity: Medium 5.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-03-25T16:54:37.187Z
- Modified: 2026-06-17T10:38:32.393Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

fontconfig before 2.17.1 has an off-by-one error in allocation during sfnt capability handling, leading to a one-byte out-of-bounds write, and potentially a crash or code execution. This is in FcFontCapabilities in fcfreetype.c.

(As written by CVE List.)

## Affected

- fontconfig project fontconfig: before 2.17.1
- fontconfig_project fontconfig: 2.17.0

## Every score

- mitre: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/b9bec06d73340f1b5727302d13ac3df307b7febc> (patch)
- <https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/446> (patch)
- <https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/481> (issue-tracking)

## Sources

- CVE List: [CVE-2026-34085](https://www.cve.org/CVERecord?id=CVE-2026-34085), CVE Terms of Use, modified 2026-04-02
- NVD: [CVE-2026-34085](https://nvd.nist.gov/vuln/detail/CVE-2026-34085), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-34085 · Whole record: https://cve.day/CVE-2026-34085.json · Rebuilt by cve.day 2026-11-25T22:59:16.867Z
