High
Security advisory
An arbitrary file upload vulnerability in the AddFont() function of FPDF v1.86 and earlier allows attackers to execute arbitrary code via uploading a crafted PHP file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-65875
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:33 UTC · Revision 1
Source evidence
An arbitrary file upload vulnerability in the AddFont() function of FPDF v1.86 and earlier allows attackers to execute arbitrary code via uploading a crafted PHP file.
osv:CVE-2025-65875
Complete source record
{
"id": "bd9afe35b38427e48fba727552316025dff363fbe1f5fe21f0e2df3bb83664a8",
"url": "https://osv.dev/vulnerability/CVE-2025-65875",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-65875",
"summary": "An arbitrary file upload vulnerability in the AddFont() function of FPDF v1.86 and earlier allows attackers to execute arbitrary code via uploading a crafted PHP file.",
"evidence": "osv:CVE-2025-65875",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-65875",
"aliases": [
"CVE-2025-65875"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:U/UI:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/setasign/fpdf",
"type": "GIT",
"events": [
{
"introduced": "0838e0ee4925716fcbbc50ad9e1799b5edfae0a0"
},
{
"last_affected": "0838e0ee4925716fcbbc50ad9e1799b5edfae0a0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fpdf:fpdf:1.8.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8.6"
},
{
"last_affected": "1.8.6"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.8.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-65875.json"
}
}
],
"modified": "2026-10-28T02:30:25.474438150Z",
"provider": "osv",
"references": [
"https://advisories.gitlab.com/pkg/composer/tecnickcom/tc-lib-pdf-font/CVE-2024-56520/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65875.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-65875",
"https://github.com/Setasign/FPDF"
],
"provider_metadata": {
"cna_assigner": "mitre",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "1.86"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65875.json"
}
},
"related_cves": [
{
"value": "CVE-2025-65875",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491921,
"published_at": "2026-02-03T00:00:00+00:00"
}