CVE-2025-36854

EOL ASP.NET 6.0 Remote Code Execution Vulnerability

8.1 high EPSS 0.64%

Published 8 Sep 2025 Updated 8 Sep 2025 CNA: HeroDevs

Check your servers for CVE-2025-36854

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-36854 affects microsoft.aspnetcore.app.runtime.linux-arm, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

A vulnerability ( CVE-2024-38229 https://www.cve.org/CVERecord ) exists in EOL ASP.NET when closing an HTTP/3 stream while application code is writing to the response body, a race condition may lead to use-after-free, resulting in Remote Code Execution.

Per CWE-416: Use After Free https://cwe.mitre.org/data/definitions/416.html , Use After Free is when a product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

This issue affects EOL ASP.NET 6.0.0 <= 6.0.36 as represented in this CVE, as well as 8.0.0 <= 8.0.8, 9.0.0-preview.1.24081.5 <= 9.0.0.RC.1 as represented in  CVE-2024-38229 https://www.cve.org/CVERecord .

Additionally, if you've deployed self-contained applications https://docs.microsoft.com/dotnet/core/deploying/#self-contained-deployments-scd  targeting any of the impacted versions, these applications are also vulnerable and must be recompiled and redeployed.

NOTE: This CVE only represents End Of Life (EOL) software components. The vendor, Microsoft, has indicated there will be no future updates nor support provided upon inquiry.

Severity (CVSS)

8.1 high CVSS 3.1 from HeroDevs (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.64%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.9% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 8 Sep 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
.NET 6.0
affected from 6.0.0 up to and including 6.0.36
Microsoft.AspNetCore.Identity
package Microsoft.AspNetCore.Identity
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.win-arm
package Microsoft.AspNetCore.App.Runtime.win-arm
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.win-arm64
package Microsoft.AspNetCore.App.Runtime.win-arm64
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.win-x64
package Microsoft.AspNetCore.App.Runtime.win-x64
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.win-x86
package Microsoft.AspNetCore.App.Runtime.win-x86
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.linux-arm
package Microsoft.AspNetCore.App.Runtime.linux-arm
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.linux-arm64
package Microsoft.AspNetCore.App.Runtime.linux-arm64
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
package Microsoft.AspNetCore.App.Runtime.linux-musl-arm
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
package Microsoft.AspNetCore.App.Runtime.linux-musl-x64
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.linux-x64
package Microsoft.AspNetCore.App.Runtime.linux-x64
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.osx-arm64
package Microsoft.AspNetCore.App.Runtime.osx-arm64
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected
Microsoft.AspNetCore.App.Runtime.osx-x64
package Microsoft.AspNetCore.App.Runtime.osx-x64
affected from >=6.0.0 up to and including 6.0.36
Other versions: unaffected

Is my server affected?

Find the installed version of microsoft.aspnetcore.app.runtime.linux-arm and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i microsoft.aspnetcore.app.runtime.linux-arm
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-36854 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-36854

RHEL, Rocky, Alma, Fedora

rpm -q microsoft.aspnetcore.app.runtime.linux-arm
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-36854

Alpine

apk list --installed | grep -i microsoft.aspnetcore.app.runtime.linux-arm

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-36854
trivy image --scanners vuln IMAGE | grep CVE-2025-36854

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Source: the record CVE-2025-36854 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.