CVE-2026-34085

Source
https://cve.org/CVERecord?id=CVE-2026-34085
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34085.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-34085
Downstream
Published
2026-03-25T16:54:37Z
Modified
2026-08-12T15:33:37Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner":  "mitre",
    "cwe_ids":  [
        "CWE-193"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34085.json"
}
References

Affected packages

Git / gitlab.freedesktop.org/fontconfig/fontconfig

Affected ranges

Type
GIT
Repo
https://gitlab.freedesktop.org/fontconfig/fontconfig
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:fontconfig_project:fontconfig:2.17.0:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "2.17.0"
        },
        {
            "last_affected":  "2.17.0"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.17.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34085.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "338340049756908944638127367645014270671",
                "268265478117448297596468193855047314435",
                "225805937722339647865978530876903344264",
                "214071455402570792325521226127506101614"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-34085-45ef1721",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/fontconfig/fontconfig@b9bec06d73340f1b5727302d13ac3df307b7febc",
        "target":  {
            "file":  "src/fcfreetype.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "167811288294678018177566407554085947143",
            "length":  1198
        },
        "id":  "CVE-2026-34085-91fe36e2",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://gitlab.freedesktop.org/fontconfig/fontconfig@b9bec06d73340f1b5727302d13ac3df307b7febc",
        "target":  {
            "file":  "src/fcfreetype.c",
            "function":  "FcFontCapabilities"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:33:37Z"