openfoam — security advisory
An arbitrary code execution vulnerability exists in the Code Stream directive functionality of OpenCFD OpenFOAM 2506. A specially crafted OpenFOAM simulation file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.
- Products
- openfoam
- Affected versions
- 1906+dfsg1-1, 1906.191111+dfsg1-1, 1906.191111+dfsg1-2, 1906.191111+dfsg1-2build1, 1912.200626-1, 1912.200626-2, 1912.200626-2build1, 1912.200626-2build2, 1912.200626-2build3, 1912.200626-3build1, 1912.200626-4, 4.1+dfsg1-1, 4.1+dfsg1-1build1, 4.1+dfsg1-1ubuntu1, 4.1+dfsg1-2
- Fixed versions
- Not specified
- CVEs
- CVE-2025-61982
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:30 UTC · Revision 1
Source evidence
An arbitrary code execution vulnerability exists in the Code Stream directive functionality of OpenCFD OpenFOAM 2506. A specially crafted OpenFOAM simulation file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.
osv:UBUNTU-CVE-2025-61982
openfoam
Fixed versions: Not specified
openfoam
Fixed versions: Not specified
openfoam
Fixed versions: Not specified
openfoam
Fixed versions: Not specified
openfoam
Fixed versions: Not specified
openfoam
Fixed versions: Not specified
Complete source record
{
"id": "213c5186282eb0f05382459d446792f6f88026e9626063f66e8eca3a124c1a07",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-61982",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-61982",
"summary": "An arbitrary code execution vulnerability exists in the Code Stream directive functionality of OpenCFD OpenFOAM 2506. A specially crafted OpenFOAM simulation file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.",
"evidence": "osv:UBUNTU-CVE-2025-61982",
"products": [
{
"name": {
"value": "openfoam",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.1+dfsg1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.1+dfsg1-1build1",
"evidence": "/affected/0/versions"
},
{
"value": "4.1+dfsg1-1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "4.1+dfsg1-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "openfoam",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1906+dfsg1-1",
"evidence": "/affected/1/versions"
},
{
"value": "1906.191111+dfsg1-1",
"evidence": "/affected/1/versions"
},
{
"value": "1906.191111+dfsg1-2",
"evidence": "/affected/1/versions"
},
{
"value": "1906.191111+dfsg1-2build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "openfoam",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1912.200626-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "openfoam",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1912.200626-2",
"evidence": "/affected/3/versions"
},
{
"value": "1912.200626-2build1",
"evidence": "/affected/3/versions"
},
{
"value": "1912.200626-2build2",
"evidence": "/affected/3/versions"
},
{
"value": "1912.200626-2build3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "openfoam",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1912.200626-3build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "openfoam",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1912.200626-4",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2025-61982",
"aliases": [
"UBUNTU-CVE-2025-61982"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/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": "openfoam",
"purl": "pkg:deb/ubuntu/openfoam?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"4.1+dfsg1-1",
"4.1+dfsg1-1build1",
"4.1+dfsg1-1ubuntu1",
"4.1+dfsg1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenfoam",
"binary_version": "4.1+dfsg1-2"
},
{
"binary_name": "openfoam",
"binary_version": "4.1+dfsg1-2"
},
{
"binary_name": "openfoam-examples",
"binary_version": "4.1+dfsg1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openfoam",
"purl": "pkg:deb/ubuntu/openfoam?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1906+dfsg1-1",
"1906.191111+dfsg1-1",
"1906.191111+dfsg1-2",
"1906.191111+dfsg1-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenfoam",
"binary_version": "1906.191111+dfsg1-2build1"
},
{
"binary_name": "openfoam",
"binary_version": "1906.191111+dfsg1-2build1"
},
{
"binary_name": "openfoam-examples",
"binary_version": "1906.191111+dfsg1-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openfoam",
"purl": "pkg:deb/ubuntu/openfoam?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1912.200626-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenfoam",
"binary_version": "1912.200626-1"
},
{
"binary_name": "openfoam",
"binary_version": "1912.200626-1"
},
{
"binary_name": "openfoam-examples",
"binary_version": "1912.200626-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openfoam",
"purl": "pkg:deb/ubuntu/openfoam?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1912.200626-2",
"1912.200626-2build1",
"1912.200626-2build2",
"1912.200626-2build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenfoam",
"binary_version": "1912.200626-2build3"
},
{
"binary_name": "openfoam",
"binary_version": "1912.200626-2build3"
},
{
"binary_name": "openfoam-examples",
"binary_version": "1912.200626-2build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openfoam",
"purl": "pkg:deb/ubuntu/openfoam?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1912.200626-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenfoam",
"binary_version": "1912.200626-3build1"
},
{
"binary_name": "openfoam",
"binary_version": "1912.200626-3build1"
},
{
"binary_name": "openfoam-examples",
"binary_version": "1912.200626-3build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openfoam",
"purl": "pkg:deb/ubuntu/openfoam?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1912.200626-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenfoam",
"binary_version": "1912.200626-4"
},
{
"binary_name": "openfoam",
"binary_version": "1912.200626-4"
},
{
"binary_name": "openfoam-examples",
"binary_version": "1912.200626-4"
}
]
}
}
],
"modified": "2026-10-17T12:58:37.787956186Z",
"provider": "osv",
"upstream": [
"CVE-2025-61982"
],
"references": [
"https://ubuntu.com/security/CVE-2025-61982",
"https://www.cve.org/CVERecord?id=CVE-2025-61982",
"https://talosintelligence.com/vulnerability_reports/TALOS-2025-2292",
"https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2292"
]
},
"related_cves": [
{
"value": "CVE-2025-61982",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358898,
"published_at": "2026-02-18T15:18:00+00:00"
}