CVE-2026-62298

Source
https://cve.org/CVERecord?id=CVE-2026-62298
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62298.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62298
Aliases
  • GHSA-rcj5-gcvg-x796
Published
2026-10-30T18:56:59Z
Modified
2026-11-01T07:17:57Z
Severity
  • 0.0 (None) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
asn1c: ASAN crash with decode of open types
Details

mouse07410/asn1c is an ASN.1 compiler. Prior to 1.2.5, OPEN TYPE decoding can dereference an unallocated member pointer and crash the consuming program. OPEN_TYPE_aper_get in OPEN_TYPE_aper.c, OPEN_TYPE_ber_get in OPEN_TYPE_ber.c, OPEN_TYPE_oer_get in OPEN_TYPE_oer.c, and OPEN_TYPE_uper_get in OPEN_TYPE_uper.c share the pattern: a conditional null check on *memb_ptr2 resets presence only when the member exists, but execution then unconditionally computes an inner value from that pointer and a member offset. If the OPEN TYPE member has not been allocated, the null-pointer arithmetic and subsequent read cause a segmentation fault. The advisory demonstrates UPER and APER crashes for E2connectionUpdateAcknowledge, notes that E2AP uses APER, and provides a BER reproducer; OER is also explicitly identified as affected. This issue is fixed in version 1.2.5.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62298.json"
}
References

Affected packages

Git / github.com/mouse07410/asn1c

Affected ranges

Type
GIT
Repo
https://github.com/mouse07410/asn1c
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "1.2.5"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "3f7d3bbac8cd195d552945e79586ca5000f33280"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "71ae41bd1cb146a432a39f72010b48f45ad69463"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v1.2.5",
            "range": [
                {
                    "fixed": "81e45fbd8eabbb95f7ed1f418faf481a227931b6"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.9.26
v0.9.27
v1.*
v1.2.0
v1.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62298.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "13015191878215896459783098840742724621",
            "length": 2413
        },
        "id": "CVE-2026-62298-1174ca34",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/81e45fbd8eabbb95f7ed1f418faf481a227931b6",
        "target": {
            "file": "skeletons/OPEN_TYPE_xer.c",
            "function": "OPEN_TYPE_xer_put"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "78101356857506126874197160640168060306",
            "length": 2104
        },
        "id": "CVE-2026-62298-1ce32a18",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/71ae41bd1cb146a432a39f72010b48f45ad69463",
        "target": {
            "file": "skeletons/OPEN_TYPE_uper.c",
            "function": "OPEN_TYPE_uper_get"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "310681313054541207231706257569516534988",
                "45437455069968802164572878260388629928",
                "329079760556204759367147624919846821491",
                "13231783779805731223399168090943214495"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-62298-2959cca4",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/3f7d3bbac8cd195d552945e79586ca5000f33280",
        "target": {
            "file": "skeletons/OPEN_TYPE_ber.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "310681313054541207231706257569516534988",
                "108538855437591641212783310690621053893",
                "229142601134674443159046987373190088974",
                "1158193587716908045275155289499994534"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-62298-2ce70d33",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/3f7d3bbac8cd195d552945e79586ca5000f33280",
        "target": {
            "file": "skeletons/OPEN_TYPE_jer.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "78101356857506126874197160640168060306",
            "length": 2104
        },
        "id": "CVE-2026-62298-3134c968",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/71ae41bd1cb146a432a39f72010b48f45ad69463",
        "target": {
            "file": "skeletons/OPEN_TYPE_aper.c",
            "function": "OPEN_TYPE_aper_get"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "323324330275762731916098778215644699015",
            "length": 2176
        },
        "id": "CVE-2026-62298-84372d49",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/3f7d3bbac8cd195d552945e79586ca5000f33280",
        "target": {
            "file": "skeletons/OPEN_TYPE_oer.c",
            "function": "OPEN_TYPE_oer_get"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "259008983208463705533289860024148926486",
                "26275145016705300758295523864805585812",
                "308600188648669609705082781927283059252",
                "289973968600593206007338212972104621182"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-62298-9d5da9d7",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/81e45fbd8eabbb95f7ed1f418faf481a227931b6",
        "target": {
            "file": "skeletons/OPEN_TYPE_xer.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "310681313054541207231706257569516534988",
                "108538855437591641212783310690621053893",
                "229142601134674443159046987373190088974",
                "1158193587716908045275155289499994534"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-62298-9dbd3980",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/71ae41bd1cb146a432a39f72010b48f45ad69463",
        "target": {
            "file": "skeletons/OPEN_TYPE_uper.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "120618965894283395671101506927299812656",
            "length": 3225
        },
        "id": "CVE-2026-62298-a3b900f2",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/3f7d3bbac8cd195d552945e79586ca5000f33280",
        "target": {
            "file": "skeletons/OPEN_TYPE_jer.c",
            "function": "OPEN_TYPE_jer_get"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "116933594275997264655393617225094414057",
            "length": 2180
        },
        "id": "CVE-2026-62298-bc0f67be",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/3f7d3bbac8cd195d552945e79586ca5000f33280",
        "target": {
            "file": "skeletons/OPEN_TYPE_ber.c",
            "function": "OPEN_TYPE_ber_get"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "257575869780944520605390084862248166446",
            "length": 1431
        },
        "id": "CVE-2026-62298-e0cf1b88",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/81e45fbd8eabbb95f7ed1f418faf481a227931b6",
        "target": {
            "file": "skeletons/constr_CHOICE_xer.c",
            "function": "CHOICE_encode_xer"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "310681313054541207231706257569516534988",
                "108538855437591641212783310690621053893",
                "229142601134674443159046987373190088974",
                "1158193587716908045275155289499994534"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-62298-e5a5cafa",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/71ae41bd1cb146a432a39f72010b48f45ad69463",
        "target": {
            "file": "skeletons/OPEN_TYPE_aper.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "310681313054541207231706257569516534988",
                "45437455069968802164572878260388629928",
                "329079760556204759367147624919846821491",
                "13231783779805731223399168090943214495"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-62298-e7508cb9",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/3f7d3bbac8cd195d552945e79586ca5000f33280",
        "target": {
            "file": "skeletons/OPEN_TYPE_oer.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "292928498630800169036308676483566884752",
                "122447681226445229074300251950995579988",
                "125117561560074664466744477583281916921",
                "79825164500603518039969954045460083247"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-62298-ee81fa9b",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mouse07410/asn1c/commit/81e45fbd8eabbb95f7ed1f418faf481a227931b6",
        "target": {
            "file": "skeletons/constr_CHOICE_xer.c"
        }
    }
]
vanir_signatures_modified
"2026-11-01T07:17:57Z"