GOST engine is a reference implementation of the Russian GOST crypto algorithms for OpenSSL. TLS clients using GOST engine when ciphersuite TLS_GOSTR341112_256_WITH_KUZNYECHIK_CTR_OMAC is agreed and the server uses 512 bit GOST secret keys are vulnerable to buffer overflow. GOST engine version 3.0.1 contains a patch for this issue. Disabling ciphersuite TLS_GOSTR341112_256_WITH_KUZNYECHIK_CTR_OMAC is a possible workaround.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-120"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29242.json"
}{
"cpe": "cpe:2.3:a:gost_engine_project:gost_engine:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.0.1"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29242.json"
"2026-07-22T02:24:41Z"
[
{
"signature_version": "v1",
"source": "https://github.com/gost-engine/engine/commit/c6655a0b620a3e31f085cc906f8073fe81b2fad3",
"id": "CVE-2022-29242-518bdba1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"181079042129152464932669655050909846368",
"158295315304811067947470668990101074335",
"239758865765949342379508158066880226757",
"7856286627472673225455720181777985340"
]
},
"target": {
"file": "e_gost_err.c"
},
"deprecated": false,
"signature_type": "Line"
},
{
"signature_version": "v1",
"source": "https://github.com/gost-engine/engine/commit/c6655a0b620a3e31f085cc906f8073fe81b2fad3",
"id": "CVE-2022-29242-7c5971bf",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65030514501109260630237999873123317328",
"118759800526282905302103490401707480352",
"25217270377180783317180417274478535203",
"82835145014064360693273568063469535198",
"190573629692466551360361712816298746329",
"270785022693191878437097098274107173792",
"59505043026629093783673545315870750222",
"66807662697499471765169844625495725539",
"259928869894521617717612055134712520778"
]
},
"target": {
"file": "gost_ec_keyx.c"
},
"deprecated": false,
"signature_type": "Line"
},
{
"signature_version": "v1",
"source": "https://github.com/gost-engine/engine/commit/c6655a0b620a3e31f085cc906f8073fe81b2fad3",
"id": "CVE-2022-29242-8a1db8d3",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225974880740951108040578185193683290431",
"83795847996781818239151978839630099984",
"92443563628866274598904886782383012572",
"271866978301397155848059525930755811876"
]
},
"target": {
"file": "e_gost_err.h"
},
"deprecated": false,
"signature_type": "Line"
},
{
"signature_version": "v1",
"source": "https://github.com/gost-engine/engine/commit/c6655a0b620a3e31f085cc906f8073fe81b2fad3",
"id": "CVE-2022-29242-fc24cf99",
"digest": {
"length": 2773.0,
"function_hash": "88359506090462606094284207342429409843"
},
"target": {
"function": "pkey_gost2018_encrypt",
"file": "gost_ec_keyx.c"
},
"deprecated": false,
"signature_type": "Function"
}
]