Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-0343

Quick assessment

Affected
Swift Project Swift ASN1
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SwiftASN1是Apple开源的一个 Swift 的 ASN.1 实现。 SwiftASN1 1.3.0之前版本存在安全漏洞,该漏洞源于在解析某些BER/DER构造时对对象形式的假设错误,当这些假设不成立时会触发先决条件失败。

AI Predicted 5.3 Difficulty: Easy EPSS 0.33% · P24

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-0343

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
Swift ASN.1 can be caused to crash when parsing certain BER/DER constructions. This crash is caused by a confusion in the ASN.1 library itself which assumes that certain objects can only be provided in either constructed or primitive forms, and will trigger a preconditionFailure if that constraint isn't met. Importantly, these constraints are actually required to be true in DER, but that correctness wasn't enforced on the early node parser side so it was incorrect to rely on it later on in decoding, which is what the library did. These crashes can be triggered when parsing any DER/BER format object. There is no memory-safety issue here: the crash is a graceful one from the Swift runtime. The impact of this is that it can be used as a denial-of-service vector when parsing BER/DER data from unknown sources, e.g. when parsing TLS certificates.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
SwiftASN1 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SwiftASN1是Apple开源的一个 Swift 的 ASN.1 实现。 SwiftASN1 1.3.0之前版本存在安全漏洞,该漏洞源于在解析某些BER/DER构造时对对象形式的假设错误,当这些假设不成立时会触发先决条件失败。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Swift Project Swift ASN1 1.0.0 ~ 1.3.1 -

II. Public POCs for CVE-2025-0343

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-0343

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-0343 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-0343

No comments yet


Leave a comment