CVE-2018-17794: Null Pointer Dereference
An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a NULL pointer dereference in workstuffcopytofrom when called from iteratedemanglefunction.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/binutilsto a version that resolves this vulnerability.Fixed in 2.35.2-2Fixed in 2.40-2Fixed in 2.44-3Fixed in 2.46.90.20260712-1
Event History
Frequently Asked Questions
What is CVE-2018-17794?
CVE-2018-17794 is a vulnerability discovered in GNU libiberty, as distributed in GNU Binutils 2.31. It is a NULL pointer dereference issue in work_stuff_copy_to_from when called from iterate_demangle_function.
How does CVE-2018-17794 affect the affected software?
CVE-2018-17794 affects the following software: Ubuntu binutils 2.30-21ubuntu1~18.04.3, Ubuntu binutils 2.26.1-1ubuntu1~16.04.8+, Ubuntu libiberty 20170913-1ubuntu0.1, Ubuntu libiberty 20190122-1, Ubuntu libiberty 20160215-1ubuntu0.3, and Debian binutils 2.31.1-16.
What is the severity of CVE-2018-17794?
The severity of CVE-2018-17794 is not specified.
How do I fix CVE-2018-17794?
To fix CVE-2018-17794, you should update the affected software to the recommended versions: Ubuntu binutils 2.30-21ubuntu1~18.04.3, Ubuntu binutils 2.26.1-1ubuntu1~16.04.8+, Ubuntu libiberty 20170913-1ubuntu0.1, Ubuntu libiberty 20190122-1, Ubuntu libiberty 20160215-1ubuntu0.3, and Debian binutils 2.31.1-16.
Where can I find more information about CVE-2018-17794?
You can find more information about CVE-2018-17794 in the following references: [GCC Bugzilla](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350), [Ubuntu USN-4326-1](https://usn.ubuntu.com/4326-1/), [Ubuntu USN-4336-1](https://usn.ubuntu.com/4336-1/).