High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-42006
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:58 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-42006
Complete source record
{
"id": "98fa3bccfc57a620fd7144c7bbee81c377c4e5c72fa4c04bdb2ad2efec84e85c",
"url": "https://osv.dev/vulnerability/CVE-2021-42006",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-42006",
"summary": "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.",
"evidence": "osv:CVE-2021-42006",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-42006",
"aliases": [
"CVE-2021-42006"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gpertea/gclib",
"type": "GIT",
"events": [
{
"introduced": "8aee376774ccb2f3bd3f8e3bf1c9df1528ac7c5b"
},
{
"last_affected": "8aee376774ccb2f3bd3f8e3bf1c9df1528ac7c5b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gclib_project:gclib:0.12.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.12.7"
},
{
"last_affected": "0.12.7"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.12.7",
"v0.12.7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42006.json"
}
}
],
"modified": "2026-10-20T10:55:00.166044438Z",
"provider": "osv",
"references": [
"https://github.com/gpertea/gclib/issues/11"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-42006",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386657,
"published_at": "2021-10-04T23:15:08.63+00:00"
}