{"id":"UBUNTU-CVE-2021-42006","details":"An out-of-bounds access in GffLine::GffLine in gff.cpp in GCLib 0.12.7 allows an attacker to cause a segmentation fault or possibly have unspecified other impact via a crafted GFF file.","modified":"2026-05-20T16:05:14.737934929Z","published":"2021-10-04T23:15:00Z","upstream":["CVE-2021-42006"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-42006"},{"type":"REPORT","url":"https://github.com/gpertea/gclib/issues/11"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-42006"}],"affected":[{"package":{"name":"libgff","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libgff?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgff-dev","binary_version":"1.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"tophat","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tophat?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"tophat","binary_version":"2.1.0+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"cufflinks","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cufflinks?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-3build1","2.2.1+dfsg.1-1ubuntu1","2.2.1+dfsg.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"cufflinks","binary_version":"2.2.1+dfsg.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgff","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libgff?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0-1build1","binary_name":"libgff-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"tophat","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tophat?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1+dfsg-3","2.1.1+dfsg-3build1","2.1.1+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.1+dfsg1-1","binary_name":"tophat"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"cufflinks","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cufflinks?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg.1-4","2.2.1+dfsg.1-4ubuntu1","2.2.1+dfsg.1-4ubuntu2","2.2.1+dfsg.1-5","2.2.1+dfsg.1-7"],"ecosystem_specific":{"binaries":[{"binary_name":"cufflinks","binary_version":"2.2.1+dfsg.1-7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgclib","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libgclib?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-1","0.11.2-3","0.11.3-1","0.11.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgclib1","binary_version":"0.11.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgff","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libgff?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libgff-dev","binary_version":"1.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"stringtie","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/stringtie?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.6+dfsg-1","2.0.4+ds-2","2.0.4+ds-3","2.0.5+ds-1","2.1.1+ds-2"],"ecosystem_specific":{"binaries":[{"binary_name":"stringtie","binary_version":"2.1.1+ds-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"cufflinks","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cufflinks?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg.1-8build1","2.2.1+dfsg.1-9"],"ecosystem_specific":{"binaries":[{"binary_name":"cufflinks","binary_version":"2.2.1+dfsg.1-9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgclib","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libgclib?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.10+ds-2","0.12.7+ds-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libgclib3","binary_version":"0.12.7+ds-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgff","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libgff?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-1","2.0.0-2","2.0.0-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0-3","binary_name":"libgff-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"stringtie","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/stringtie?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.4+ds-4","2.1.6+ds-1","2.2.1+ds-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.1+ds-2","binary_name":"stringtie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"cufflinks","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/cufflinks?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg.1-9","2.2.1+dfsg.1-9build1"],"ecosystem_specific":{"binaries":[{"binary_name":"cufflinks","binary_version":"2.2.1+dfsg.1-9build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgclib","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libgclib?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.7+ds-5","0.12.7+ds-5ubuntu2","0.12.7+ds-5ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"libgclib3t64","binary_version":"0.12.7+ds-5ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgff","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libgff?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libgff-dev","binary_version":"2.0.0-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"stringtie","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/stringtie?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+ds-2","2.2.1+ds-3","2.2.1+ds-3build1","2.2.1+ds-3build2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.1+ds-3build2","binary_name":"stringtie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"cufflinks","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/cufflinks?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg.1-10"],"ecosystem_specific":{"binaries":[{"binary_name":"cufflinks","binary_version":"2.2.1+dfsg.1-10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgclib","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libgclib?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.7+ds-5ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.12.7+ds-5ubuntu3","binary_name":"libgclib3t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgff","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libgff?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0-3","binary_name":"libgff-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"stringtie","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/stringtie?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+ds-3build2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.1+ds-3build2","binary_name":"stringtie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"cufflinks","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/cufflinks?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg.1-10"],"ecosystem_specific":{"binaries":[{"binary_name":"cufflinks","binary_version":"2.2.1+dfsg.1-10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgclib","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libgclib?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.7+ds-5ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.12.7+ds-5ubuntu3","binary_name":"libgclib3t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"libgff","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libgff?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-3","2.0.0-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0-3build1","binary_name":"libgff-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}},{"package":{"name":"stringtie","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/stringtie?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+ds-3build2","3.0.3+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0.3+ds-1","binary_name":"stringtie"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42006.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}