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 TSRESPverify_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 osslessgetsigningcert() and osslessgetsigningcertv2() access the signing cert attribute value without validating its type. When the type is not VASN1SEQUENCE, this results in accessing invalid memory through the ASN1TYPE 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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-69420.json"
[
{
"source": "https://github.com/openssl/openssl/commit/564fd9c73787f25693bf9e75faf7bf6bb1305d4e",
"digest": {
"line_hashes": [
"201888226879888819651681590595522968327",
"55997044344403922093111884346552998173",
"4978588019549099552408349898016254549",
"176160634447836910802018056675653643760",
"129627066050902738130928955327242745830",
"329755338793737530275862164871587223473",
"38252633268232289492692485526011033030",
"55868587811027651874806109339695070292"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "crypto/ts/ts_rsp_verify.c"
},
"id": "CVE-2025-69420-1f47a4bf"
},
{
"source": "https://github.com/openssl/openssl/commit/27c7012c91cc986a598d7540f3079dfde2416eb9",
"digest": {
"line_hashes": [
"201888226879888819651681590595522968327",
"55997044344403922093111884346552998173",
"4978588019549099552408349898016254549",
"176160634447836910802018056675653643760",
"129627066050902738130928955327242745830",
"329755338793737530275862164871587223473",
"38252633268232289492692485526011033030",
"55868587811027651874806109339695070292"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "crypto/ts/ts_rsp_verify.c"
},
"id": "CVE-2025-69420-4114d774"
},
{
"source": "https://github.com/openssl/openssl/commit/564fd9c73787f25693bf9e75faf7bf6bb1305d4e",
"digest": {
"length": 302.0,
"function_hash": "278237621881370507895367925432790678808"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert"
},
"id": "CVE-2025-69420-4d9da00d"
},
{
"source": "https://github.com/openssl/openssl/commit/a99349ebfc519999edc50620abe24d599b9eb085",
"digest": {
"line_hashes": [
"201888226879888819651681590595522968327",
"55997044344403922093111884346552998173",
"4978588019549099552408349898016254549",
"176160634447836910802018056675653643760",
"129627066050902738130928955327242745830",
"329755338793737530275862164871587223473",
"38252633268232289492692485526011033030",
"55868587811027651874806109339695070292"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "crypto/ts/ts_rsp_verify.c"
},
"id": "CVE-2025-69420-5b510dc0"
},
{
"source": "https://github.com/openssl/openssl/commit/27c7012c91cc986a598d7540f3079dfde2416eb9",
"digest": {
"length": 304.0,
"function_hash": "281745662143339069291279319188916354096"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert_v2"
},
"id": "CVE-2025-69420-81eb58fe"
},
{
"source": "https://github.com/openssl/openssl/commit/4e254b48ad93cc092be3dd62d97015f33f73133a",
"digest": {
"length": 302.0,
"function_hash": "278237621881370507895367925432790678808"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert"
},
"id": "CVE-2025-69420-9a34b20b"
},
{
"source": "https://github.com/openssl/openssl/commit/a99349ebfc519999edc50620abe24d599b9eb085",
"digest": {
"length": 302.0,
"function_hash": "278237621881370507895367925432790678808"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert"
},
"id": "CVE-2025-69420-bb58f1b7"
},
{
"source": "https://github.com/openssl/openssl/commit/5eb0770ffcf11b785cf374ff3c19196245e54f1b",
"digest": {
"length": 304.0,
"function_hash": "281745662143339069291279319188916354096"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert_v2"
},
"id": "CVE-2025-69420-c98920e1"
},
{
"source": "https://github.com/openssl/openssl/commit/5eb0770ffcf11b785cf374ff3c19196245e54f1b",
"digest": {
"line_hashes": [
"201888226879888819651681590595522968327",
"55997044344403922093111884346552998173",
"4978588019549099552408349898016254549",
"176160634447836910802018056675653643760",
"129627066050902738130928955327242745830",
"329755338793737530275862164871587223473",
"38252633268232289492692485526011033030",
"55868587811027651874806109339695070292"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "crypto/ts/ts_rsp_verify.c"
},
"id": "CVE-2025-69420-d9f79c91"
},
{
"source": "https://github.com/openssl/openssl/commit/4e254b48ad93cc092be3dd62d97015f33f73133a",
"digest": {
"line_hashes": [
"201888226879888819651681590595522968327",
"55997044344403922093111884346552998173",
"4978588019549099552408349898016254549",
"176160634447836910802018056675653643760",
"129627066050902738130928955327242745830",
"329755338793737530275862164871587223473",
"38252633268232289492692485526011033030",
"55868587811027651874806109339695070292"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "crypto/ts/ts_rsp_verify.c"
},
"id": "CVE-2025-69420-e03b5a47"
},
{
"source": "https://github.com/openssl/openssl/commit/4e254b48ad93cc092be3dd62d97015f33f73133a",
"digest": {
"length": 304.0,
"function_hash": "281745662143339069291279319188916354096"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert_v2"
},
"id": "CVE-2025-69420-e61af670"
},
{
"source": "https://github.com/openssl/openssl/commit/27c7012c91cc986a598d7540f3079dfde2416eb9",
"digest": {
"length": 302.0,
"function_hash": "278237621881370507895367925432790678808"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert"
},
"id": "CVE-2025-69420-e805be8c"
},
{
"source": "https://github.com/openssl/openssl/commit/a99349ebfc519999edc50620abe24d599b9eb085",
"digest": {
"length": 304.0,
"function_hash": "281745662143339069291279319188916354096"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert_v2"
},
"id": "CVE-2025-69420-e9b0c2d3"
},
{
"source": "https://github.com/openssl/openssl/commit/5eb0770ffcf11b785cf374ff3c19196245e54f1b",
"digest": {
"length": 302.0,
"function_hash": "278237621881370507895367925432790678808"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert"
},
"id": "CVE-2025-69420-e9cddd65"
},
{
"source": "https://github.com/openssl/openssl/commit/564fd9c73787f25693bf9e75faf7bf6bb1305d4e",
"digest": {
"length": 304.0,
"function_hash": "281745662143339069291279319188916354096"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "crypto/ts/ts_rsp_verify.c",
"function": "ossl_ess_get_signing_cert_v2"
},
"id": "CVE-2025-69420-eda6ad8a"
}
]