{"id":"UBUNTU-CVE-2019-16396","details":"GnuCOBOL 2.2 has a use-after-free in the end_scope_of_program_name() function in cobc/parser.y via crafted COBOL source code.","modified":"2026-04-22T12:12:22.909095Z","published":"2019-09-17T22:15:00Z","upstream":["CVE-2019-16396"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-16396"},{"type":"REPORT","url":"https://sourceforge.net/p/open-cobol/bugs/587/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-16396"}],"affected":[{"package":{"name":"open-cobol","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/open-cobol@1.1-1build2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1-1build1","1.1-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcob1","binary_version":"1.1-1build2"},{"binary_name":"open-cobol","binary_version":"1.1-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16396.json"}},{"package":{"name":"open-cobol","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/open-cobol@1.1-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcob1","binary_version":"1.1-2"},{"binary_name":"open-cobol","binary_version":"1.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16396.json"}},{"package":{"name":"gnucobol","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gnucobol@2.2-5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-5"],"ecosystem_specific":{"binaries":[{"binary_name":"gnucobol","binary_version":"2.2-5"},{"binary_name":"libcob4","binary_version":"2.2-5"},{"binary_name":"open-cobol","binary_version":"2.2-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16396.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}