{"id":"UBUNTU-CVE-2017-16357","details":"In radare 2.0.1, a memory corruption vulnerability exists in store_versioninfo_gnu_verdef() and store_versioninfo_gnu_verneed() in libr/bin/format/elf/elf.c, as demonstrated by an invalid free. This error is due to improper sh_size validation when allocating memory.","modified":"2025-07-17T16:53:29Z","published":"2017-11-01T17:29:00Z","withdrawn":"2025-07-18T16:44:13Z","upstream":["CVE-2017-16357"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-16357"},{"type":"REPORT","url":"https://github.com/radare/radare2/commit/0b973e28166636e0ff1fad80baa0385c9c09c53a"},{"type":"REPORT","url":"https://github.com/radare/radare2/issues/8742"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-16357"}],"affected":[{"package":{"name":"radare2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/radare2@2.3.0+dfsg-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0+dfsg-2"}]}],"versions":["1.6.0+dfsg-1","2.0.0+dfsg-1","2.1.0+dfsg-1","2.3.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.0+dfsg-2","binary_name":"libradare2-2.3"},{"binary_version":"2.3.0+dfsg-2","binary_name":"libradare2-2.3-dbgsym"},{"binary_version":"2.3.0+dfsg-2","binary_name":"libradare2-common"},{"binary_version":"2.3.0+dfsg-2","binary_name":"libradare2-dev"},{"binary_version":"2.3.0+dfsg-2","binary_name":"radare2"},{"binary_version":"2.3.0+dfsg-2","binary_name":"radare2-dbgsym"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16357.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}