CVE-2025-69420

Source
https://cve.org/CVERecord?id=CVE-2025-69420
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-69420.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-69420
Downstream
Related
Published
2026-01-27T16:01:25Z
Modified
2026-08-18T17:55:16Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Missing ASN1_TYPE validation in TS_RESP_verify_response() function
Details

Issue summary: A type confusion vulnerability exists in the TimeStamp Response verification code where an ASN1_TYPE union member is accessed without first validating the type, causing an invalid or NULL pointer dereference when processing a malformed TimeStamp Response file.

Impact summary: An application calling TS_RESP_verify_response() with a malformed TimeStamp Response can be caused to dereference an invalid or NULL pointer when reading, resulting in a Denial of Service.

The functions ossl_ess_get_signing_cert() and ossl_ess_get_signing_cert_v2() access the signing cert attribute value without validating its type. When the type is not V_ASN1_SEQUENCE, this results in accessing invalid memory through the ASN1_TYPE union, causing a crash.

Exploiting this vulnerability requires an attacker to provide a malformed TimeStamp Response to an application that verifies timestamp responses. The TimeStamp protocol (RFC 3161) is not widely used and the impact of the exploit is just a Denial of Service. For these reasons the issue was assessed as Low severity.

The FIPS modules in 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the TimeStamp Response implementation is outside the OpenSSL FIPS module boundary.

OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0 and 1.1.1 are vulnerable to this issue.

OpenSSL 1.0.2 is not affected by this issue.

Database specific
{
    "cna_assigner":  "openssl",
    "cwe_ids":  [
        "CWE-754"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69420.json"
}
References

Affected packages

Git / github.com/openssl/openssl

Affected ranges

Type
GIT
Repo
https://github.com/openssl/openssl
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "1.1.1"
        },
        {
            "fixed":  "1.1.1ze"
        },
        {
            "introduced":  "3.0.0"
        },
        {
            "fixed":  "3.0.19"
        },
        {
            "introduced":  "3.3.0"
        },
        {
            "fixed":  "3.3.6"
        },
        {
            "introduced":  "3.4.0"
        },
        {
            "fixed":  "3.4.4"
        },
        {
            "introduced":  "3.5.0"
        },
        {
            "fixed":  "3.5.5"
        },
        {
            "introduced":  "3.6.0"
        },
        {
            "fixed":  "3.6.1"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.0-POST-CLANG-FORMAT-WEBKIT
3.0-PRE-CLANG-FORMAT-WEBKIT
3.3-POST-CLANG-FORMAT-WEBKIT
3.3-PRE-CLANG-FORMAT-WEBKIT
3.4-POST-CLANG-FORMAT-WEBKIT
3.4-PRE-CLANG-FORMAT-WEBKIT
3.5-POST-CLANG-FORMAT-WEBKIT
3.5-PRE-CLANG-FORMAT-WEBKIT
3.6-POST-CLANG-FORMAT-WEBKIT
3.6-PRE-CLANG-FORMAT-WEBKIT
openssl-3.*
openssl-3.0.0
openssl-3.0.1
openssl-3.0.10
openssl-3.0.11
openssl-3.0.12
openssl-3.0.13
openssl-3.0.14
openssl-3.0.15
openssl-3.0.16
openssl-3.0.17
openssl-3.0.18
openssl-3.0.2
openssl-3.0.3
openssl-3.0.4
openssl-3.0.5
openssl-3.0.6
openssl-3.0.7
openssl-3.0.8
openssl-3.0.9
openssl-3.3.0
openssl-3.3.1
openssl-3.3.2
openssl-3.3.3
openssl-3.3.4
openssl-3.3.5
openssl-3.4.0
openssl-3.4.1
openssl-3.4.2
openssl-3.4.3
openssl-3.5.0
openssl-3.5.1
openssl-3.5.2
openssl-3.5.3
openssl-3.5.4
openssl-3.6.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-69420.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "201888226879888819651681590595522968327",
                "55997044344403922093111884346552998173",
                "4978588019549099552408349898016254549",
                "176160634447836910802018056675653643760",
                "129627066050902738130928955327242745830",
                "329755338793737530275862164871587223473",
                "38252633268232289492692485526011033030",
                "55868587811027651874806109339695070292"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-69420-1f47a4bf",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/564fd9c73787f25693bf9e75faf7bf6bb1305d4e",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "201888226879888819651681590595522968327",
                "55997044344403922093111884346552998173",
                "4978588019549099552408349898016254549",
                "176160634447836910802018056675653643760",
                "129627066050902738130928955327242745830",
                "329755338793737530275862164871587223473",
                "38252633268232289492692485526011033030",
                "55868587811027651874806109339695070292"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-69420-4114d774",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/27c7012c91cc986a598d7540f3079dfde2416eb9",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "278237621881370507895367925432790678808",
            "length":  302
        },
        "id":  "CVE-2025-69420-4d9da00d",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/564fd9c73787f25693bf9e75faf7bf6bb1305d4e",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "201888226879888819651681590595522968327",
                "55997044344403922093111884346552998173",
                "4978588019549099552408349898016254549",
                "176160634447836910802018056675653643760",
                "129627066050902738130928955327242745830",
                "329755338793737530275862164871587223473",
                "38252633268232289492692485526011033030",
                "55868587811027651874806109339695070292"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-69420-5b510dc0",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/a99349ebfc519999edc50620abe24d599b9eb085",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "281745662143339069291279319188916354096",
            "length":  304
        },
        "id":  "CVE-2025-69420-81eb58fe",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/27c7012c91cc986a598d7540f3079dfde2416eb9",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert_v2"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "278237621881370507895367925432790678808",
            "length":  302
        },
        "id":  "CVE-2025-69420-9a34b20b",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/4e254b48ad93cc092be3dd62d97015f33f73133a",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "278237621881370507895367925432790678808",
            "length":  302
        },
        "id":  "CVE-2025-69420-bb58f1b7",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/a99349ebfc519999edc50620abe24d599b9eb085",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "28170854778703993674264004058177114599",
                "73132526844288570625317440636111911761",
                "177405411499435185068645597737938634778",
                "224809958623850711330610094965797758930",
                "295554444428855106393106961197201359586"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-69420-c377fa22",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/e04bd3433fd84e1861bf258ea37928d9845e6a86",
        "target":  {
            "file":  "include/openssl/opensslv.h"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "281745662143339069291279319188916354096",
            "length":  304
        },
        "id":  "CVE-2025-69420-c98920e1",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/5eb0770ffcf11b785cf374ff3c19196245e54f1b",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert_v2"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "201888226879888819651681590595522968327",
                "55997044344403922093111884346552998173",
                "4978588019549099552408349898016254549",
                "176160634447836910802018056675653643760",
                "129627066050902738130928955327242745830",
                "329755338793737530275862164871587223473",
                "38252633268232289492692485526011033030",
                "55868587811027651874806109339695070292"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-69420-d9f79c91",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/5eb0770ffcf11b785cf374ff3c19196245e54f1b",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "201888226879888819651681590595522968327",
                "55997044344403922093111884346552998173",
                "4978588019549099552408349898016254549",
                "176160634447836910802018056675653643760",
                "129627066050902738130928955327242745830",
                "329755338793737530275862164871587223473",
                "38252633268232289492692485526011033030",
                "55868587811027651874806109339695070292"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-69420-e03b5a47",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/4e254b48ad93cc092be3dd62d97015f33f73133a",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "281745662143339069291279319188916354096",
            "length":  304
        },
        "id":  "CVE-2025-69420-e61af670",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/4e254b48ad93cc092be3dd62d97015f33f73133a",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert_v2"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "278237621881370507895367925432790678808",
            "length":  302
        },
        "id":  "CVE-2025-69420-e805be8c",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/27c7012c91cc986a598d7540f3079dfde2416eb9",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "281745662143339069291279319188916354096",
            "length":  304
        },
        "id":  "CVE-2025-69420-e9b0c2d3",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/a99349ebfc519999edc50620abe24d599b9eb085",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert_v2"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "278237621881370507895367925432790678808",
            "length":  302
        },
        "id":  "CVE-2025-69420-e9cddd65",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/5eb0770ffcf11b785cf374ff3c19196245e54f1b",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "281745662143339069291279319188916354096",
            "length":  304
        },
        "id":  "CVE-2025-69420-eda6ad8a",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/564fd9c73787f25693bf9e75faf7bf6bb1305d4e",
        "target":  {
            "file":  "crypto/ts/ts_rsp_verify.c",
            "function":  "ossl_ess_get_signing_cert_v2"
        }
    }
]
vanir_signatures_modified
"2026-08-18T17:55:16Z"