CVE Explorer
CVE-2026-59884
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER decoder shared by the CER and DER codecs parses long-form tags by accumulating continuation octets without an upper bound on the tag ID size, allowing a crafted input to force construction of an arbitrarily large integer with CPU cost growing quadratically and to trigger unhandled ValueError exceptions in Python 3.11+ error formatting paths. Any application decoding untrusted BER, CER, or DER input is affected. This issue is f
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pyasn1","vendor":"pyasn1","versions":[{"status":"affected","version":"< 0.6.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f326db177805ef1a545a534a15ec90f0837f841072b9fb28ad558038c7611068 · sha256:7bf59c63fe6c80dc… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f326db177805ef1a545a534a15ec90f0837f841072b9fb28ad558038c7611068 · sha256:7bf59c63fe6c80dc… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f326db177805ef1a545a534a15ec90f0837f841072b9fb28ad558038c7611068 · sha256:7bf59c63fe6c80dc… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/pyasn1/pyasn1/commit/628e36ecbb5277a3f01572ce418ef54271b165a5","tags":["x_refsource_MISC"],"url":"https://github.com/pyasn1/pyasn1/commit/628e36ecbb5277a3f01572ce418ef54271b165a5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f326db177805ef1a545a534a15ec90f0837f841072b9fb28ad558038c7611068 · sha256:7bf59c63fe6c80dc… · /containers/cna/references/1
{"name":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4","tags":["x_refsource_MISC"],"url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f326db177805ef1a545a534a15ec90f0837f841072b9fb28ad558038c7611068 · sha256:7bf59c63fe6c80dc… · /containers/cna/references/2
{"name":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f326db177805ef1a545a534a15ec90f0837f841072b9fb28ad558038c7611068 · sha256:7bf59c63fe6c80dc… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.