{"schema":"threatline.record/2","record":{"id":"CVE-2026-102758","aliases":["GHSA-f95g-xc4w-mrcr"],"summary":"The `_nx_secure_x509_asn1_tlv_block_parse()` function parses ASN.1 TLV (tag-length-value) blocks out of DER-encoded data. It is the primitive underneath all X.509 certificate parsing in NetX Secure, a","details":"The `_nx_secure_x509_asn1_tlv_block_parse()` function parses ASN.1 TLV (tag-length-value) blocks out of DER-encoded data. It is the primitive underneath all X.509 certificate parsing in NetX Secure, and therefore runs on certificates supplied by a remote peer during the TLS handshake.\n\n\n\nThe function reads the one-byte ASN.1 tag from the caller's buffer *before* checking that the buffer holds at least one byte. When a caller passes a remaining length of zero, the guard correctly returns `NX_SECURE_X509_ASN1_LENGTH_TOO_LONG`, but the read has already happened one byte past the end of the buffer.\n\n\n\ncode:\n\n\n\nnx_secure/src/nx_secure_x509_asn1_tlv_block_parse.c\n\n\n\n```\n\n\n\nUINT _nx_secure_x509_asn1_tlv_block_parse(const UCHAR *buffer, ULONG *buffer_length, USHORT *tlv_type,\n\n                                          USHORT *tlv_tag_class, ULONG *tlv_length,\n                                          const UCHAR **tlv_data, ULONG *header_length)\n\n\n{\n\n\n\nUINT   current_index;\n\n\n\nUSHORT current_tag;\n\n\n\nULONG  length;\n\n\n\nULONG  length_bytes;\n\n    current_index = 0;\n    current_tag = buffer[current_index];      /* <-- read before the bounds check */\n    if (*buffer_length < 1)\n    {\n        return(NX_SECURE_X509_ASN1_LENGTH_TOO_LONG);\n    }\n\n\n```\n\n\n\nThe remainder of the function is correctly ordered. The multi-byte length path is guarded by `length_bytes > 4 || length_bytes > *buffer_length` before its read loop, the decoded value is checked against `length > *buffer_length`, and the second single-byte length read follows its own `*buffer_length < 1` guard. The tag read is the only load placed ahead of its check.","categories":["Unclassified"],"product":"NetX Duo","vendor":"Eclipse Foundation","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102758","source_modified_at":"2026-09-30T20:42:39.497Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"NetX Duo","vendor":"Eclipse Foundation","versions":[{"lessThanOrEqual":"6.5.1.202602","status":"affected","version":"0","versionType":"custom"},{"status":"unaffected","version":"6.5.2.202603"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/eclipse-threadx/netxduo/security/advisories/GHSA-f95g-xc4w-mrcr","source_modified_at":"2026-10-02T18:44:46Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"eclipse threadx","name":"NetX Duo"},"range":"<= 6.5.1.202602"}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/eclipse-threadx/netxduo/security/advisories/GHSA-f95g-xc4w-mrcr","source_modified_at":"2026-10-02T18:44:46Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"eclipse threadx","name":"NetX Duo"},"version":"6.5.2.202603"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00173,"percentile":0.0642,"score_date":"2026-10-23"},"published_at":"2026-09-29T17:26:44.424Z","modified_at":"2026-10-02T18:44:46Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102758","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-09-30T20:42:39.497Z"},{"source":"GitHub Advisory Database","url":"https://github.com/eclipse-threadx/netxduo/security/advisories/GHSA-f95g-xc4w-mrcr","fetched_at":"2026-10-24T00:31:04.721601Z","source_modified_at":"2026-10-02T18:44:46Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102758","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/eclipse-threadx/netxduo/security/advisories/GHSA-f95g-xc4w-mrcr"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CISA ADP","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","assessed_at":"2026-09-30T20:42:14.455455Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-02T18:44:46Z","content_hash":"e7c4e97f190783d7524c6e75e564c28ba51b644fcc38e1065e20ed48985a1edf"}}
