Skip to content
Heist/ feed
Back to feed
High

fontforge — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-15272

FontForge SFD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of SFD files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-28547.

Products
fontforge
Affected versions
1:20161005~dfsg-4+deb9u1ubuntu1, 1:20170731~dfsg-1, 1:20170731~dfsg-1build1, 1:20170731~dfsg-1ubuntu0.1~esm1, 1:20170731~dfsg-2, 1:20190801~dfsg-2, 1:20190801~dfsg-2ubuntu1, 1:20190801~dfsg-4, 1:20190801~dfsg-4ubuntu0.1, 1:20201107~dfsg-4, 1:20201107~dfsg-4+deb11u1build0.22.04.1, 1:20201107~dfsg-4build1, 1:20230101~dfsg-1.1, 1:20230101~dfsg-1.1build1, 1:20230101~dfsg-1build1, 1:20230101~dfsg-1build2, 1:20230101~dfsg-4build1, 1:20230101~dfsg-4build2, 1:20230101~dfsg-7, 1:20230101~dfsg-8, 1:20230101~dfsg-8build1, 1:20230101~dfsg-9, 1:20251009+git20260808~dfsg-2, 20120731.b-5, 20120731.b-5ubuntu1, 20120731.b-7.1, 20120731.b-7.1ubuntu0.1, 20120731.b-7.1ubuntu0.1+esm1
Fixed versions
Not specified
CVEs
CVE-2025-15272
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:25 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-15272

core-osv · Original source

Published 31 Dec 2025, 07:15 UTC

FontForge SFD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of SFD files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-28547.

osv:UBUNTU-CVE-2025-15272

fontforge

Fixed versions: Not specified

fontforge

Fixed versions: Not specified

fontforge

Fixed versions: Not specified

fontforge

Fixed versions: Not specified

fontforge

Fixed versions: Not specified

fontforge

Fixed versions: Not specified

fontforge

Fixed versions: Not specified

fontforge

Fixed versions: Not specified

Complete source record
{
  "id": "e9cba94cd4fba0b2b9854668a6c69ab57e1ff90fe62f914867c127cb7c3aeb59",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-15272",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-15272",
    "summary": "FontForge SFD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of SFD files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-28547.",
    "evidence": "osv:UBUNTU-CVE-2025-15272",
    "products": [
      {
        "name": {
          "value": "fontforge",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "20120731.b-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "20120731.b-5ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "20120731.b-7.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "20120731.b-7.1ubuntu0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "20120731.b-7.1ubuntu0.1+esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "fontforge",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:20161005~dfsg-4+deb9u1ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:20170731~dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:20170731~dfsg-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "fontforge",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:20170731~dfsg-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:20170731~dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:20190801~dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:20190801~dfsg-2ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:20190801~dfsg-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:20190801~dfsg-4ubuntu0.1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "fontforge",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:20201107~dfsg-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:20201107~dfsg-4build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:20201107~dfsg-4+deb11u1build0.22.04.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "fontforge",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:20230101~dfsg-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:20230101~dfsg-1build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:20230101~dfsg-1.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:20230101~dfsg-1.1build1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "fontforge",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:20230101~dfsg-4build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:20230101~dfsg-4build2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:20230101~dfsg-7",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:20230101~dfsg-8",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "fontforge",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:20230101~dfsg-8build1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1:20230101~dfsg-9",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1:20251009+git20260808~dfsg-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "fontforge",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:20230101~dfsg-8",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1:20230101~dfsg-8build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2025-15272",
      "aliases": [
        "UBUNTU-CVE-2025-15272"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "fontforge",
            "purl": "pkg:deb/ubuntu/fontforge?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "20120731.b-5",
            "20120731.b-5ubuntu1",
            "20120731.b-7.1",
            "20120731.b-7.1ubuntu0.1",
            "20120731.b-7.1ubuntu0.1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "fontforge",
                "binary_version": "20120731.b-7.1ubuntu0.1+esm1"
              },
              {
                "binary_name": "fontforge-common",
                "binary_version": "20120731.b-7.1ubuntu0.1+esm1"
              },
              {
                "binary_name": "fontforge-nox",
                "binary_version": "20120731.b-7.1ubuntu0.1+esm1"
              },
              {
                "binary_name": "libfontforge1",
                "binary_version": "20120731.b-7.1ubuntu0.1+esm1"
              },
              {
                "binary_name": "libgdraw4",
                "binary_version": "20120731.b-7.1ubuntu0.1+esm1"
              },
              {
                "binary_name": "python-fontforge",
                "binary_version": "20120731.b-7.1ubuntu0.1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "fontforge",
            "purl": "pkg:deb/ubuntu/fontforge?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1:20161005~dfsg-4+deb9u1ubuntu1",
            "1:20170731~dfsg-1",
            "1:20170731~dfsg-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "fontforge",
                "binary_version": "1:20170731~dfsg-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "fontforge-common",
                "binary_version": "1:20170731~dfsg-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "fontforge-nox",
                "binary_version": "1:20170731~dfsg-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libfontforge2",
                "binary_version": "1:20170731~dfsg-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libgdraw5",
                "binary_version": "1:20170731~dfsg-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "python-fontforge",
                "binary_version": "1:20170731~dfsg-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "fontforge",
            "purl": "pkg:deb/ubuntu/fontforge?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1:20170731~dfsg-1build1",
            "1:20170731~dfsg-2",
            "1:20190801~dfsg-2",
            "1:20190801~dfsg-2ubuntu1",
            "1:20190801~dfsg-4",
            "1:20190801~dfsg-4ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "fontforge",
                "binary_version": "1:20190801~dfsg-4ubuntu0.1"
              },
              {
                "binary_name": "fontforge-common",
                "binary_version": "1:20190801~dfsg-4ubuntu0.1"
              },
              {
                "binary_name": "fontforge-extras",
                "binary_version": "1:20190801~dfsg-4ubuntu0.1"
              },
              {
                "binary_name": "fontforge-nox",
                "binary_version": "1:20190801~dfsg-4ubuntu0.1"
              },
              {
                "binary_name": "libfontforge3",
                "binary_version": "1:20190801~dfsg-4ubuntu0.1"
              },
              {
                "binary_name": "libgdraw6",
                "binary_version": "1:20190801~dfsg-4ubuntu0.1"
              },
              {
                "binary_name": "python3-fontforge",
                "binary_version": "1:20190801~dfsg-4ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "fontforge",
            "purl": "pkg:deb/ubuntu/fontforge?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1:20201107~dfsg-4",
            "1:20201107~dfsg-4build1",
            "1:20201107~dfsg-4+deb11u1build0.22.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "fontforge",
                "binary_version": "1:20201107~dfsg-4+deb11u1build0.22.04.1"
              },
              {
                "binary_name": "fontforge-common",
                "binary_version": "1:20201107~dfsg-4+deb11u1build0.22.04.1"
              },
              {
                "binary_name": "fontforge-extras",
                "binary_version": "1:20201107~dfsg-4+deb11u1build0.22.04.1"
              },
              {
                "binary_name": "fontforge-nox",
                "binary_version": "1:20201107~dfsg-4+deb11u1build0.22.04.1"
              },
              {
                "binary_name": "libfontforge4",
                "binary_version": "1:20201107~dfsg-4+deb11u1build0.22.04.1"
              },
              {
                "binary_name": "python3-fontforge",
                "binary_version": "1:20201107~dfsg-4+deb11u1build0.22.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "fontforge",
            "purl": "pkg:deb/ubuntu/fontforge?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1:20230101~dfsg-1build1",
            "1:20230101~dfsg-1build2",
            "1:20230101~dfsg-1.1",
            "1:20230101~dfsg-1.1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "fontforge",
                "binary_version": "1:20230101~dfsg-1.1build1"
              },
              {
                "binary_name": "fontforge-common",
                "binary_version": "1:20230101~dfsg-1.1build1"
              },
              {
                "binary_name": "fontforge-extras",
                "binary_version": "1:20230101~dfsg-1.1build1"
              },
              {
                "binary_name": "fontforge-nox",
                "binary_version": "1:20230101~dfsg-1.1build1"
              },
              {
                "binary_name": "libfontforge4",
                "binary_version": "1:20230101~dfsg-1.1build1"
              },
              {
                "binary_name": "python3-fontforge",
                "binary_version": "1:20230101~dfsg-1.1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "fontforge",
            "purl": "pkg:deb/ubuntu/fontforge?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1:20230101~dfsg-4build1",
            "1:20230101~dfsg-4build2",
            "1:20230101~dfsg-7",
            "1:20230101~dfsg-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "fontforge",
                "binary_version": "1:20230101~dfsg-8"
              },
              {
                "binary_name": "fontforge-common",
                "binary_version": "1:20230101~dfsg-8"
              },
              {
                "binary_name": "fontforge-extras",
                "binary_version": "1:20230101~dfsg-8"
              },
              {
                "binary_name": "fontforge-nox",
                "binary_version": "1:20230101~dfsg-8"
              },
              {
                "binary_name": "libfontforge4",
                "binary_version": "1:20230101~dfsg-8"
              },
              {
                "binary_name": "python3-fontforge",
                "binary_version": "1:20230101~dfsg-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "fontforge",
            "purl": "pkg:deb/ubuntu/fontforge?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1:20230101~dfsg-8build1",
            "1:20230101~dfsg-9",
            "1:20251009+git20260808~dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "fontforge",
                "binary_version": "1:20251009+git20260808~dfsg-2"
              },
              {
                "binary_name": "fontforge-common",
                "binary_version": "1:20251009+git20260808~dfsg-2"
              },
              {
                "binary_name": "fontforge-extras",
                "binary_version": "1:20251009+git20260808~dfsg-2"
              },
              {
                "binary_name": "fontforge-nox",
                "binary_version": "1:20251009+git20260808~dfsg-2"
              },
              {
                "binary_name": "libfontforge4",
                "binary_version": "1:20251009+git20260808~dfsg-2"
              },
              {
                "binary_name": "python3-fontforge",
                "binary_version": "1:20251009+git20260808~dfsg-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "fontforge",
            "purl": "pkg:deb/ubuntu/fontforge?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1:20230101~dfsg-8",
            "1:20230101~dfsg-8build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "fontforge",
                "binary_version": "1:20230101~dfsg-8build1"
              },
              {
                "binary_name": "fontforge-common",
                "binary_version": "1:20230101~dfsg-8build1"
              },
              {
                "binary_name": "fontforge-extras",
                "binary_version": "1:20230101~dfsg-8build1"
              },
              {
                "binary_name": "fontforge-nox",
                "binary_version": "1:20230101~dfsg-8build1"
              },
              {
                "binary_name": "libfontforge4",
                "binary_version": "1:20230101~dfsg-8build1"
              },
              {
                "binary_name": "python3-fontforge",
                "binary_version": "1:20230101~dfsg-8build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:48.403874556Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-15272"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-15272",
        "https://www.cve.org/CVERecord?id=CVE-2025-15272",
        "https://www.zerodayinitiative.com/advisories/ZDI-25-1192/"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-15272",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356338,
  "published_at": "2025-12-31T07:15:00+00:00"
}