{"id":"UBUNTU-CVE-2026-34789","details":"FreeCAD is a free and open-source multiplatform 3D parametric modeler. Prior to 1.1.2, src/App/PropertyPythonObject.cpp in PropertyPythonObject::Restore() passes the attacker-controlled module attribute from serialized PropertyPythonObject XML directly to PyImport_ImportModule() while restoring a crafted FCStd document, which executes module-level Python code, and the legacy pickle branch also imports an attacker-controlled module and invokes its class constructor through PyObject_CallObject(). This issue is fixed in version 1.1.2.","modified":"2026-08-19T13:32:27.922395974Z","published":"2026-08-17T21:16:00Z","upstream":["CVE-2026-34789"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-34789"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-34789"},{"type":"REPORT","url":"https://github.com/FreeCAD/FreeCAD/commit/81b73925ce22610542367301d8eff4259eb9596e"},{"type":"REPORT","url":"https://github.com/FreeCAD/FreeCAD/commit/983037f3003dc31f48db36705b86fb3fbe026295"},{"type":"REPORT","url":"https://github.com/FreeCAD/FreeCAD/commit/e2dc6c8172673642c6856b8b3a5a6accefb18279"},{"type":"REPORT","url":"https://github.com/FreeCAD/FreeCAD/releases/tag/1.1.2"},{"type":"REPORT","url":"https://github.com/FreeCAD/FreeCAD/security/advisories/GHSA-493w-pp4h-h77v"}],"affected":[{"package":{"name":"freecad","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/freecad?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.3702+dfsg-4","0.15.4671+dfsg1-1","0.15.4671+dfsg1-2","0.15.4671+dfsg1-3","0.15.4671+dfsg1-4"],"ecosystem_specific":{"binaries":[{"binary_name":"freecad","binary_version":"0.15.4671+dfsg1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34789.json"}},{"package":{"name":"freecad","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/freecad?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16+dfsg2-3","0.16+dfsg2-3build3","0.16.6712+dfsg1-1","0.16.6712+dfsg1-1ubuntu1","0.16.6712+dfsg1-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"freecad","binary_version":"0.16.6712+dfsg1-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34789.json"}},{"package":{"name":"freecad","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/freecad?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.3+dfsg1-1","0.18.3+dfsg1-4","0.18.4+dfsg1-1","0.18.4+dfsg1-2~build1","0.18.4+dfsg1-2","0.18.4+dfsg1-2ubuntu8","0.18.4+dfsg2-1ubuntu1","0.18.4+dfsg2-1ubuntu2","0.18.4+dfsg2-1ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_version":"0.18.4+dfsg2-1ubuntu4","binary_name":"freecad"},{"binary_name":"freecad-common","binary_version":"0.18.4+dfsg2-1ubuntu4"},{"binary_name":"freecad-python3","binary_version":"0.18.4+dfsg2-1ubuntu4"},{"binary_version":"0.18.4+dfsg2-1ubuntu4","binary_name":"freecad-runtime"},{"binary_name":"libfreecad-python3-0.18","binary_version":"0.18.4+dfsg2-1ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34789.json"}},{"package":{"name":"freecad","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/freecad?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.1+dfsg1-2","0.19.2+dfsg1-3","0.19.2+dfsg1-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"freecad","binary_version":"0.19.2+dfsg1-3ubuntu1"},{"binary_name":"freecad-common","binary_version":"0.19.2+dfsg1-3ubuntu1"},{"binary_version":"0.19.2+dfsg1-3ubuntu1","binary_name":"freecad-python3"},{"binary_name":"libfreecad-python3-0.19","binary_version":"0.19.2+dfsg1-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34789.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}