smtpd/table.c in OpenSMTPD before 6.8.0p1 lacks a certain regfree, which might allow attackers to trigger a "very significant" memory leak via messages to an instance that performs many regex lookups.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35679.json"
"2026-04-11T13:53:09Z"
[
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.8.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "6.8.0-NA"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "32"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "33"
}
]
}
]
[
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043",
"digest": {
"function_hash": "168689518179268419596766045625718440344",
"length": 339.0
},
"id": "CVE-2020-35679-421b970c",
"deprecated": false,
"target": {
"file": "usr.sbin/smtpd/table.c",
"function": "table_regex_match"
}
},
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043",
"digest": {
"threshold": 0.9,
"line_hashes": [
"146958479146620846539546414962359749417",
"174238863999032206833938270702635942721",
"44785742247042273354110454623155296066",
"127216323636994152709344313176629631861",
"187410313179494707880442132910442894268",
"89120246498674166041645836356303474481",
"288075783481391649782432310671824278932",
"182156094449615294796588709903363808016",
"172972714128338031501639908038510339649"
]
},
"id": "CVE-2020-35679-5a6fe561",
"deprecated": false,
"target": {
"file": "usr.sbin/smtpd/table.c"
}
}
]