{"id":"UBUNTU-CVE-2025-61982","details":"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.","modified":"2026-02-27T09:56:36Z","published":"2026-02-18T15:18:00Z","upstream":["CVE-2025-61982"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-61982"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-61982"},{"type":"REPORT","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2025-2292"},{"type":"REPORT","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2292"}],"affected":[{"package":{"name":"openfoam","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openfoam@4.1+dfsg1-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1+dfsg1-1","4.1+dfsg1-1build1","4.1+dfsg1-1ubuntu1","4.1+dfsg1-2"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"}},{"package":{"name":"openfoam","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openfoam@1906.191111+dfsg1-2build1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1906+dfsg1-1","1906.191111+dfsg1-1","1906.191111+dfsg1-2","1906.191111+dfsg1-2build1"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"}},{"package":{"name":"openfoam","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openfoam@1912.200626-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1912.200626-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenfoam","binary_version":"1912.200626-1"},{"binary_name":"openfoam","binary_version":"1912.200626-1"},{"binary_version":"1912.200626-1","binary_name":"openfoam-examples"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"}},{"package":{"name":"openfoam","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/openfoam@1912.200626-2build3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1912.200626-2","1912.200626-2build1","1912.200626-2build2","1912.200626-2build3"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"}},{"package":{"name":"openfoam","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/openfoam@1912.200626-3build1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1912.200626-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1912.200626-3build1","binary_name":"libopenfoam"},{"binary_name":"openfoam","binary_version":"1912.200626-3build1"},{"binary_name":"openfoam-examples","binary_version":"1912.200626-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61982.json"}}],"schema_version":"1.7.3","severity":[{"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"}]}