{"id":"UBUNTU-CVE-2012-6702","details":"Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the srand function.","modified":"2026-01-30T01:22:27.758670Z","published":"2012-12-31T00:00:00Z","related":["USN-3010-1","USN-3013-1"],"upstream":["CVE-2012-6702"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-6702"},{"type":"REPORT","url":"http://seclists.org/oss-sec/2016/q2/468"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3013-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3010-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2012-6702"}],"affected":[{"package":{"name":"expat","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/expat@2.1.0-4ubuntu1.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4ubuntu1.3"}]}],"versions":["2.1.0-4","2.1.0-4ubuntu1","2.1.0-4ubuntu1.1","2.1.0-4ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0-4ubuntu1.3","binary_name":"expat"},{"binary_version":"2.1.0-4ubuntu1.3","binary_name":"lib64expat1"},{"binary_version":"2.1.0-4ubuntu1.3","binary_name":"lib64expat1-dev"},{"binary_version":"2.1.0-4ubuntu1.3","binary_name":"libexpat1"},{"binary_version":"2.1.0-4ubuntu1.3","binary_name":"libexpat1-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"vnc4","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/vnc4@4.1.1+xorg4.3.0-37ubuntu5.0.2+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.1+xorg4.3.0-37ubuntu5","4.1.1+xorg4.3.0-37ubuntu5.0.1","4.1.1+xorg4.3.0-37ubuntu5.0.2","4.1.1+xorg4.3.0-37ubuntu5.0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.1.1+xorg4.3.0-37ubuntu5.0.2+esm1","binary_name":"vnc4server"},{"binary_version":"4.1.1+xorg4.3.0-37ubuntu5.0.2+esm1","binary_name":"xvnc4viewer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"xmlrpc-c","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/xmlrpc-c@1.33.06-0ubuntu1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.33-3.2ubuntu3","1.33.06-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.33.06-0ubuntu1","binary_name":"libxmlrpc-c++8"},{"binary_version":"1.33.06-0ubuntu1","binary_name":"libxmlrpc-c++8-dev"},{"binary_version":"1.33.06-0ubuntu1","binary_name":"libxmlrpc-core-c3"},{"binary_version":"1.33.06-0ubuntu1","binary_name":"libxmlrpc-core-c3-dev"},{"binary_version":"1.33.06-0ubuntu1","binary_name":"xmlrpc-api-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"expat","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/expat@2.1.0-7ubuntu0.16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-7ubuntu0.16.04.2"}]}],"versions":["2.1.0-7","2.1.0-7ubuntu0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0-7ubuntu0.16.04.2","binary_name":"expat"},{"binary_version":"2.1.0-7ubuntu0.16.04.2","binary_name":"lib64expat1"},{"binary_version":"2.1.0-7ubuntu0.16.04.2","binary_name":"lib64expat1-dev"},{"binary_version":"2.1.0-7ubuntu0.16.04.2","binary_name":"libexpat1"},{"binary_version":"2.1.0-7ubuntu0.16.04.2","binary_name":"libexpat1-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"insighttoolkit","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/insighttoolkit@3.20.1+git20120521-6build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.20.1+git20120521-6","3.20.1+git20120521-6build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.20.1+git20120521-6build1","binary_name":"insighttoolkit3-examples"},{"binary_version":"3.20.1+git20120521-6build1","binary_name":"libinsighttoolkit3-dev"},{"binary_version":"3.20.1+git20120521-6build1","binary_name":"libinsighttoolkit3.20"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"vnc4","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/vnc4@4.1.1+xorg4.3.0-37.3ubuntu2.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.1+xorg4.3.0-37.3ubuntu2","4.1.1+xorg4.3.0-37.3ubuntu2.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.1.1+xorg4.3.0-37.3ubuntu2.1+esm1","binary_name":"vnc4server"},{"binary_version":"4.1.1+xorg4.3.0-37.3ubuntu2.1+esm1","binary_name":"xvnc4viewer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"xmlrpc-c","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/xmlrpc-c@1.33.14-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.33.14-0.2ubuntu3","1.33.14-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.33.14-1ubuntu1","binary_name":"libxmlrpc-c++8-dev"},{"binary_version":"1.33.14-1ubuntu1","binary_name":"libxmlrpc-c++8v5"},{"binary_version":"1.33.14-1ubuntu1","binary_name":"libxmlrpc-core-c3"},{"binary_version":"1.33.14-1ubuntu1","binary_name":"libxmlrpc-core-c3-dev"},{"binary_version":"1.33.14-1ubuntu1","binary_name":"xmlrpc-api-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"vnc4","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/vnc4@4.1.1+xorg4.3.0-37.3ubuntu2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.1+xorg4.3.0-37.3ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"4.1.1+xorg4.3.0-37.3ubuntu2","binary_name":"vnc4server"},{"binary_version":"4.1.1+xorg4.3.0-37.3ubuntu2","binary_name":"xvnc4viewer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"xmlrpc-c","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/xmlrpc-c@1.33.14-8build1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.33.14-7","1.33.14-8","1.33.14-8build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.33.14-8build1","binary_name":"libxmlrpc-c++8-dev"},{"binary_version":"1.33.14-8build1","binary_name":"libxmlrpc-c++8v5"},{"binary_version":"1.33.14-8build1","binary_name":"libxmlrpc-core-c3"},{"binary_version":"1.33.14-8build1","binary_name":"libxmlrpc-core-c3-dev"},{"binary_version":"1.33.14-8build1","binary_name":"xmlrpc-api-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"xmlrpc-c","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/xmlrpc-c@1.33.14-8build2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.33.14-8build1","1.33.14-8build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.33.14-8build2","binary_name":"libxmlrpc-c++8-dev"},{"binary_version":"1.33.14-8build2","binary_name":"libxmlrpc-c++8v5"},{"binary_version":"1.33.14-8build2","binary_name":"libxmlrpc-core-c3"},{"binary_version":"1.33.14-8build2","binary_name":"libxmlrpc-core-c3-dev"},{"binary_version":"1.33.14-8build2","binary_name":"xmlrpc-api-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"xmlrpc-c","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/xmlrpc-c@1.33.14-10?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.33.14-9","1.33.14-10"],"ecosystem_specific":{"binaries":[{"binary_version":"1.33.14-10","binary_name":"libxmlrpc-c++8-dev"},{"binary_version":"1.33.14-10","binary_name":"libxmlrpc-c++8v5"},{"binary_version":"1.33.14-10","binary_name":"libxmlrpc-core-c3"},{"binary_version":"1.33.14-10","binary_name":"libxmlrpc-core-c3-dev"},{"binary_version":"1.33.14-10","binary_name":"xmlrpc-api-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"xmlrpc-c","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/xmlrpc-c@1.33.14-12build2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.33.14-11","1.33.14-11.1","1.33.14-12","1.33.14-12build1","1.33.14-12build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.33.14-12build2","binary_name":"libxmlrpc-c++8-dev"},{"binary_version":"1.33.14-12build2","binary_name":"libxmlrpc-c++8t64"},{"binary_version":"1.33.14-12build2","binary_name":"libxmlrpc-core-c3-dev"},{"binary_version":"1.33.14-12build2","binary_name":"libxmlrpc-core-c3t64"},{"binary_version":"1.33.14-12build2","binary_name":"xmlrpc-api-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"paraview","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/paraview@5.13.2+dfsg-3?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.13.2+dfsg-2ubuntu1","5.13.2+dfsg-2ubuntu2","5.13.2+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_version":"5.13.2+dfsg-3","binary_name":"paraview"},{"binary_version":"5.13.2+dfsg-3","binary_name":"paraview-dev"},{"binary_version":"5.13.2+dfsg-3","binary_name":"python3-paraview"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"sitecopy","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/sitecopy@1:0.16.6-16build1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.16.6-16","1:0.16.6-16build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.16.6-16build1","binary_name":"sitecopy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}},{"package":{"name":"xmlrpc-c","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/xmlrpc-c@1.59.03-10.1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.59.03-7","1.59.03-9","1.59.03-10","1.59.03-10.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.59.03-10.1","binary_name":"libxmlrpc-c++9"},{"binary_version":"1.59.03-10.1","binary_name":"libxmlrpc-c++9-dev"},{"binary_version":"1.59.03-10.1","binary_name":"libxmlrpc-core-c3-dev"},{"binary_version":"1.59.03-10.1","binary_name":"libxmlrpc-core-c3t64"},{"binary_version":"1.59.03-10.1","binary_name":"libxmlrpc-util-dev"},{"binary_version":"1.59.03-10.1","binary_name":"libxmlrpc-util4"},{"binary_version":"1.59.03-10.1","binary_name":"xmlrpc-api-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6702.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}