{"id":"UBUNTU-CVE-2016-20042","details":"TRN 3.6-23 contains a stack buffer overflow vulnerability that allows local attackers to execute arbitrary code by supplying an oversized argument to the application. Attackers can craft a malicious command-line argument with 156 bytes of padding followed by a return address to overwrite the instruction pointer and execute shellcode with user privileges.","modified":"2026-04-02T04:47:45Z","published":"2026-03-28T12:16:00Z","upstream":["CVE-2016-20042"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-20042"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-20042"},{"type":"REPORT","url":"https://sourceforge.net/projects/trn/"},{"type":"REPORT","url":"https://www.exploit-db.com/exploits/39764"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/trn-23-stack-buffer-overflow-local-code-execution"}],"affected":[{"package":{"name":"trn","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/trn@3.6-24build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6-24","3.6-24build1"],"ecosystem_specific":{"binaries":[{"binary_name":"trn","binary_version":"3.6-24build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-20042.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}