High
gerbv — security advisory
An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.
- Products
- gerbv
- Affected versions
- 2.10.0-1, 2.10.0-2, 2.9.6-1, 2.9.8-1
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40402
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 01:42 UTC · Revision 1
Source evidence
An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.
osv:DEBIAN-CVE-2021-40402
gerbv
Fixed versions: Not specified
gerbv
Fixed versions: Not specified
Complete source record
{
"id": "5e58ff932894eba37e4b68e9e6aff19df142ea7f1571406c468c45f3627da147",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-40402",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-40402",
"summary": "An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.",
"evidence": "osv:DEBIAN-CVE-2021-40402",
"products": [
{
"name": {
"value": "gerbv",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.10.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.9.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.9.8-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "gerbv",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.10.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.10.0-2",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2021-40402",
"aliases": [
"DEBIAN-CVE-2021-40402"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gerbv",
"purl": "pkg:deb/debian/gerbv?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.10.0-1",
"2.10.0-2",
"2.9.6-1",
"2.9.8-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40402.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gerbv",
"purl": "pkg:deb/debian/gerbv?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.10.0-1",
"2.10.0-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40402.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-23T18:04:50.527634352Z",
"provider": "osv",
"upstream": [
"CVE-2021-40402"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-40402"
]
},
"related_cves": [
{
"value": "CVE-2021-40402",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 424060,
"published_at": "2022-04-14T20:15:08.89+00:00"
}