GnuCOBOL 2.2 has a use-after-free in the endscopeofprogramname() function in cobc/parser.y via crafted COBOL source code.
{ "binaries": [ { "binary_name": "libcob1", "binary_version": "1.1-1build2" }, { "binary_name": "libcob1-dev", "binary_version": "1.1-1build2" }, { "binary_name": "open-cobol", "binary_version": "1.1-1build2" } ] }
{ "binaries": [ { "binary_name": "libcob1", "binary_version": "1.1-2" }, { "binary_name": "libcob1-dev", "binary_version": "1.1-2" }, { "binary_name": "open-cobol", "binary_version": "1.1-2" } ] }
{ "binaries": [ { "binary_name": "gnucobol", "binary_version": "2.2-5" }, { "binary_name": "libcob4", "binary_version": "2.2-5" }, { "binary_name": "libcob4-dev", "binary_version": "2.2-5" }, { "binary_name": "open-cobol", "binary_version": "2.2-5" } ] }