Back
CVE-2005-1935
Heap-based buffer overflow in the BERDecBitString function in Microsoft ASN.1 library (MSASN1.DLL) allows remote attackers to execute arbitrary code via nested constructed bit strings, which leads to a realloc of a non-null pointer and causes the function to overwrite previously freed memory, as demonstrated using a SPNEGO token with a constructed bit string during HTTP authentication, and a different vulnerability than CVE-2003-0818. NOTE: the researcher has claimed that MS:MS04-007 fixes this issue.
Published: Jun 13, 2005
Modified: Jun 16, 2026
CVSS Metrics
Affected Products (12)
| Vendor | Product | Version |
|---|---|---|
| microsoft | windows_2000 | * |
| microsoft | windows_2000 | * |
| microsoft | windows_2000 | * |
| microsoft | windows_2003_server | 64-bit |
| microsoft | windows_2003_server | r2 |
| microsoft | windows_nt | 4.0 |
| microsoft | windows_nt | 4.0 |
| microsoft | windows_nt | 4.0 |
| microsoft | windows_xp | * |
| microsoft | windows_xp | * |
| microsoft | windows_xp | * |
| microsoft | windows_xp | * |
GitHub Security Advisory GHSA-7wp6-vjqc-vxjv
Heap-based buffer overflow in the BERDecBitString function in Microsoft ASN.1 library (MSASN1.DLL...
Risk Scores
CVSS Score
7.5 / 10
EPSS Score
26.63%
Top 2% most likely to be exploited
Threat Score
38 / 100
Data Sources
NVD
EPSS
GitHub