What’s Vulnerable › Vulnerabilities
CVE-2011-1271
- Severity: medium (CVSS 5.1 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 20.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2011-05-10 · updated 2026-06-16
- Weakness: CWE-264
Description
The JIT compiler in Microsoft .NET Framework 3.5 Gold and SP1, 3.5.1, and 4.0, when IsJITOptimizerDisabled is false, does not properly handle expressions related to null strings, which allows context-dependent attackers to bypass intended access restrictions, and consequently execute arbitrary code, in opportunistic circumstances by leveraging a crafted application, as demonstrated by (1) a crafted XAML browser application (aka XBAP), (2) a crafted ASP.NET application, or (3) a crafted .NET Framework application, aka ".NET Framework JIT Optimization Vulnerability."
Affected products
- Microsoft .NET Framework: 4.0, 3.5.1, 2.0-sp2, 3.5-sp1, 2.0-sp1, 3.5
- Microsoft .NET Framework: 3.5 Gold, 3.5 SP1, 3.5.1, 4.0
References
- http://stackoverflow.com/questions/2135509/bug-only-occurring-when-compile-optimization-enabled/
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-044
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12686
- http://stackoverflow.com/questions/2135509/bug-only-occurring-when-compile-optimization-enabled/
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-044
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12686
Get alerted when CVE-2011-1271 or the next vulnerability affects your stack