CVE-2022-39264

Source
https://cve.org/CVERecord?id=CVE-2022-39264
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39264.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-39264
Aliases
  • GHSA-8jcp-8jq4-5mm7
Downstream
Published
2022-09-28T00:00:00Z
Modified
2026-07-22T02:08:00.734197Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N CVSS Calculator
Summary
nheko vulnerable to secret poisoning using MITM on secret requests by the homeserver
Details

nheko is a desktop client for the Matrix communication application. All versions below 0.10.2 are vulnerable homeservers inserting malicious secrets, which could lead to man-in-the-middle attacks. Users can upgrade to version 0.10.2 to protect against this issue. As a workaround, one may apply the patch manually, avoid doing verifications of one's own devices, and/or avoid pressing the request button in the settings menu.

Database specific
{
    "cwe_ids": [
        "CWE-287",
        "CWE-295"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39264.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/nheko-reborn/nheko

Affected ranges

Type
GIT
Repo
https://github.com/nheko-reborn/nheko
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:nheko-reborn:nheko:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.10.2"
        }
    ]
}

Affected versions

Other
nightly
v0.*
v0.1.0
v0.10.0
v0.10.1
v0.10.1-1
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.5.0
v0.5.1
v0.5.3
v0.5.4
v0.5.5
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.7.0
v0.7.0-rc1
v0.7.1
v0.7.2
v0.8.0
v0.8.1
v0.8.2
v0.8.2-RC
v0.8.2-rc2
v0.9.0
v0.9.1
v0.9.2
v0.9.3

Database specific

vanir_signatures_modified
"2026-07-22T02:08:00Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "target": {
            "file": "src/encryption/Olm.cpp",
            "function": "handle_olm_message"
        },
        "deprecated": false,
        "source": "https://github.com/nheko-reborn/nheko/commit/67bee15a389f9b8a9f6c3a340558d1e2319e7199",
        "id": "CVE-2022-39264-6b3898ca",
        "signature_version": "v1",
        "digest": {
            "function_hash": "291018063824603245588392495130773345674",
            "length": 7519.0
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "src/encryption/Olm.cpp"
        },
        "deprecated": false,
        "source": "https://github.com/nheko-reborn/nheko/commit/67bee15a389f9b8a9f6c3a340558d1e2319e7199",
        "id": "CVE-2022-39264-8a2bcadb",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "314031684862769409172070955061539386472",
                "325831471101201174799088498847537660337",
                "236106384856876904004523395367649960814",
                "33196057757508825712225508785285125340",
                "233655630507688834009188876799267597409",
                "87736103775668621437547075837966295630",
                "42417660009787073975988348503050134935",
                "226258985755098910598673917254019033526",
                "323489760941158113430027110861296831556",
                "317670211670070139968806350286375219197",
                "174777744952662943395953917597160567225",
                "115590786419917342779649742899714198937",
                "226709516249676092611947230131027552779",
                "748517889673438593601034761148503833",
                "220793449359304666462845026858049220793",
                "75407180318704451699303769443305508093",
                "239745834333312723775072348590760139838",
                "283335571474437161250499508538557490317",
                "318390849187883225212836371263875386024",
                "263595265488124108086666708246724967190",
                "55561841630203954757669042069586102372",
                "316718824892975356328360280134374930613",
                "162842085353348870191657802139718184870",
                "217025498892928169449923417542215827748",
                "91960459332474571870287936021884841493",
                "192777002513267840174796733276251478188",
                "142279533790919268777041459653185142491",
                "44062342022158676327659156186378197412",
                "107566429354175646558288660715061805964",
                "310020016146251776373356844405382659919",
                "321922646630933077107436414231927492400",
                "33025121014981907598564265958629787630"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39264.json"