Medium
freefem++ — security advisory
A buffer overflow in the GmfOpenMesh() function of libMeshb v7.61 allows attackers to cause a Denial of Service (DoS) via a crafted MESH file.
- Products
- freefem++
- Affected versions
- 3.37.1-1build1, 3.38.1-1, 3.38.1-1.1, 3.38.1-1.1build2, 3.38.1-1build1, 3.38.1-1build3, 3.47+dfsg1-1build4, 3.47+dfsg1-2, 3.47+dfsg1-2build1, 3.61.1+dfsg1-5, 3.61.1+dfsg1-5build1, 3.61.1+dfsg1-5build2, 3.61.1+dfsg1-6, 4.13+dfsg-1build2, 4.13+dfsg-1build3, 4.13+dfsg-1build4, 4.13+dfsg-1build5, 4.14+dfsg-1build5, 4.15+dfsg-1, 4.15+dfsg-2, 4.15+dfsg-2build1, 4.17+dfsg-1build1, 4.9+dfsg1-2, 4.9+dfsg1-2build1
- Fixed versions
- Not specified
- CVEs
- CVE-2021-46225
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:44 UTC · Revision 1
Source evidence
A buffer overflow in the GmfOpenMesh() function of libMeshb v7.61 allows attackers to cause a Denial of Service (DoS) via a crafted MESH file.
osv:UBUNTU-CVE-2021-46225
freefem++
Fixed versions: Not specified
freefem++
Fixed versions: Not specified
freefem++
Fixed versions: Not specified
freefem++
Fixed versions: Not specified
freefem++
Fixed versions: Not specified
freefem++
Fixed versions: Not specified
freefem++
Fixed versions: Not specified
freefem++
Fixed versions: Not specified
Complete source record
{
"id": "59bdd72848c42c41e8ed06c2b4f45b0bcca1d95e35859d979068dbaf9cd5295d",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-46225",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-46225",
"summary": "A buffer overflow in the GmfOpenMesh() function of libMeshb v7.61 allows attackers to cause a Denial of Service (DoS) via a crafted MESH file.",
"evidence": "osv:UBUNTU-CVE-2021-46225",
"products": [
{
"name": {
"value": "freefem++",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.37.1-1build1",
"evidence": "/affected/0/versions"
},
{
"value": "3.38.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.38.1-1build1",
"evidence": "/affected/0/versions"
},
{
"value": "3.38.1-1build3",
"evidence": "/affected/0/versions"
},
{
"value": "3.38.1-1.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.38.1-1.1build2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "freefem++",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.47+dfsg1-1build4",
"evidence": "/affected/1/versions"
},
{
"value": "3.47+dfsg1-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.47+dfsg1-2build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "freefem++",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.61.1+dfsg1-5",
"evidence": "/affected/2/versions"
},
{
"value": "3.61.1+dfsg1-5build1",
"evidence": "/affected/2/versions"
},
{
"value": "3.61.1+dfsg1-5build2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "freefem++",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.61.1+dfsg1-6",
"evidence": "/affected/3/versions"
},
{
"value": "4.9+dfsg1-2",
"evidence": "/affected/3/versions"
},
{
"value": "4.9+dfsg1-2build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "freefem++",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.13+dfsg-1build2",
"evidence": "/affected/4/versions"
},
{
"value": "4.13+dfsg-1build3",
"evidence": "/affected/4/versions"
},
{
"value": "4.13+dfsg-1build4",
"evidence": "/affected/4/versions"
},
{
"value": "4.13+dfsg-1build5",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "freefem++",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.14+dfsg-1build5",
"evidence": "/affected/5/versions"
},
{
"value": "4.15+dfsg-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "freefem++",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.15+dfsg-2build1",
"evidence": "/affected/6/versions"
},
{
"value": "4.17+dfsg-1build1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "freefem++",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.15+dfsg-1",
"evidence": "/affected/7/versions"
},
{
"value": "4.15+dfsg-2",
"evidence": "/affected/7/versions"
},
{
"value": "4.15+dfsg-2build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2021-46225",
"aliases": [
"UBUNTU-CVE-2021-46225"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freefem++",
"purl": "pkg:deb/ubuntu/freefem%2B%2B?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"3.37.1-1build1",
"3.38.1-1",
"3.38.1-1build1",
"3.38.1-1build3",
"3.38.1-1.1",
"3.38.1-1.1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46225.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "freefem++",
"binary_version": "3.38.1-1.1build2"
},
{
"binary_name": "libfreefem++",
"binary_version": "3.38.1-1.1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freefem++",
"purl": "pkg:deb/ubuntu/freefem%2B%2B?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.47+dfsg1-1build4",
"3.47+dfsg1-2",
"3.47+dfsg1-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46225.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "freefem++",
"binary_version": "3.47+dfsg1-2build1"
},
{
"binary_name": "libfreefem++",
"binary_version": "3.47+dfsg1-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freefem++",
"purl": "pkg:deb/ubuntu/freefem%2B%2B?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"3.61.1+dfsg1-5",
"3.61.1+dfsg1-5build1",
"3.61.1+dfsg1-5build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46225.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "freefem++",
"binary_version": "3.61.1+dfsg1-5build2"
},
{
"binary_name": "libfreefem++",
"binary_version": "3.61.1+dfsg1-5build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freefem++",
"purl": "pkg:deb/ubuntu/freefem%2B%2B?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.61.1+dfsg1-6",
"4.9+dfsg1-2",
"4.9+dfsg1-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46225.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "freefem++",
"binary_version": "4.9+dfsg1-2build1"
},
{
"binary_name": "libfreefem++",
"binary_version": "4.9+dfsg1-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freefem++",
"purl": "pkg:deb/ubuntu/freefem%2B%2B?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"4.13+dfsg-1build2",
"4.13+dfsg-1build3",
"4.13+dfsg-1build4",
"4.13+dfsg-1build5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46225.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "freefem++",
"binary_version": "4.13+dfsg-1build5"
},
{
"binary_name": "libfreefem++",
"binary_version": "4.13+dfsg-1build5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freefem++",
"purl": "pkg:deb/ubuntu/freefem%2B%2B?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"4.14+dfsg-1build5",
"4.15+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46225.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "freefem++",
"binary_version": "4.15+dfsg-1"
},
{
"binary_name": "libfreefem++",
"binary_version": "4.15+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freefem++",
"purl": "pkg:deb/ubuntu/freefem%2B%2B?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.15+dfsg-2build1",
"4.17+dfsg-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46225.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "freefem++",
"binary_version": "4.17+dfsg-1build1"
},
{
"binary_name": "libfreefem++",
"binary_version": "4.17+dfsg-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freefem++",
"purl": "pkg:deb/ubuntu/freefem%2B%2B?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"4.15+dfsg-1",
"4.15+dfsg-2",
"4.15+dfsg-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46225.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "freefem++",
"binary_version": "4.15+dfsg-2build1"
},
{
"binary_name": "libfreefem++",
"binary_version": "4.15+dfsg-2build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:01.503134022Z",
"provider": "osv",
"upstream": [
"CVE-2021-46225"
],
"references": [
"https://ubuntu.com/security/CVE-2021-46225",
"https://github.com/LoicMarechal/libMeshb/commit/8cd68c54e0647c0030ae4506a225ad4a2655c316",
"https://github.com/LoicMarechal/libMeshb/issues/21",
"https://www.cve.org/CVERecord?id=CVE-2021-46225"
]
},
"related_cves": [
{
"value": "CVE-2021-46225",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354599,
"published_at": "2022-01-12T20:15:00+00:00"
}