Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-41725

published

Excessive resource consumption in mime/multipart

Published
28 Feb 2023, 17:19:42 UTC
Updated
07 Mar 2025, 17:58:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Go standard library — mime/multipart0 to < 1.19.6 · 1.20.0-0 to < 1.20.1 · Other versions: unaffected Affected Not stated Go
Amazon Linux AL2 Release evaluationALAS2-2023-2163 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2DOCKER-2023-029 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2GOLANG1.19-2023-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2NITRO-ENCLAVES-2023-026 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-175 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 aardvark-dns Advisory build 2:1.0.1-38.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
Alpine Linux edge go Fixed 1.20.1-r0 Package fix record
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 aardvark-dns Advisory build 2:1.7.0-1.module_el8.9.0+3657+d86e192f ALSA-2023:6939
AlmaLinux 8 buildah Advisory build 1:1.24.6-7.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 buildah Advisory build 1:1.31.3-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 buildah-tests Advisory build 1:1.24.6-7.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 buildah-tests Advisory build 1:1.31.3-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 cockpit-podman Advisory build 46-1.module_el8.7.0+3344+5bcd850f ALSA-2023:6938
AlmaLinux 8 cockpit-podman Advisory build 75-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 conmon Advisory build 2:2.1.4-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 conmon Advisory build 3:2.1.8-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 container-selinux Advisory build 2:2.205.0-3.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 container-selinux Advisory build 2:2.221.0-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 containernetworking-plugins Advisory build 1:1.1.1-5.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 containernetworking-plugins Advisory build 1:1.3.0-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 containers-common Advisory build 2:1-38.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 containers-common Advisory build 2:1-54.module_el8.9.0+3673+0c64b403 ALSA-2023:6939
AlmaLinux 8 crit Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 crit Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 crit Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 criu Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 criu Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 criu Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 criu-devel Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 criu-devel Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 criu-devel Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 criu-libs Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 criu-libs Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 criu-libs Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 crun Advisory build 1.8.3-1.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 crun Advisory build 1.8.7-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 delve Advisory build 1.9.1-1.module_el8.8.0+3471+a62632a0 ALSA-2023:3083
AlmaLinux 8 fuse-overlayfs Advisory build 1.12-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 fuse-overlayfs Advisory build 1.9-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 go-toolset Advisory build 1.19.6-1.module_el8.8.0+3558+75c9cb88 ALSA-2023:3083
AlmaLinux 8 golang Advisory build 1.19.6-1.module_el8.8.0+3558+75c9cb88 ALSA-2023:3083
AlmaLinux 8 golang-bin Advisory build 1.19.6-1.module_el8.8.0+3558+75c9cb88 ALSA-2023:3083
AlmaLinux 8 golang-docs Advisory build 1.19.6-1.module_el8.8.0+3558+75c9cb88 ALSA-2023:3083
AlmaLinux 8 golang-misc Advisory build 1.19.6-1.module_el8.8.0+3558+75c9cb88 ALSA-2023:3083
AlmaLinux 8 golang-race Advisory build 1.19.6-1.module_el8.8.0+3558+75c9cb88 ALSA-2023:3083
AlmaLinux 8 golang-src Advisory build 1.19.6-1.module_el8.8.0+3558+75c9cb88 ALSA-2023:3083
AlmaLinux 8 golang-tests Advisory build 1.19.6-1.module_el8.8.0+3558+75c9cb88 ALSA-2023:3083
AlmaLinux 8 libslirp Advisory build 4.4.0-1.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 libslirp Advisory build 4.4.0-1.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 libslirp Advisory build 4.4.0-1.module_el8.8.0+3615+3543c705 ALSA-2023:6939
AlmaLinux 8 libslirp-devel Advisory build 4.4.0-1.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 libslirp-devel Advisory build 4.4.0-1.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 libslirp-devel Advisory build 4.4.0-1.module_el8.8.0+3615+3543c705 ALSA-2023:6939
AlmaLinux 8 netavark Advisory build 2:1.0.1-38.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 netavark Advisory build 2:1.7.0-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 oci-seccomp-bpf-hook Advisory build 1.2.5-2.module_el8.8.0+3468+16b86c82 ALSA-2023:6938
AlmaLinux 8 oci-seccomp-bpf-hook Advisory build 1.2.9-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-catatonit Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-catatonit Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-docker Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-docker Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-gvproxy Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-gvproxy Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-plugins Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-plugins Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-remote Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-remote Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-tests Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-tests Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 python3-criu Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 python3-criu Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 python3-criu Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 python3-podman Advisory build 4.0.0-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 python3-podman Advisory build 4.6.0-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 runc Advisory build 1:1.1.5-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 runc Advisory build 1:1.1.9-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 skopeo Advisory build 2:1.13.3-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 skopeo Advisory build 2:1.6.2-8.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 skopeo-tests Advisory build 2:1.13.3-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 skopeo-tests Advisory build 2:1.6.2-8.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 slirp4netns Advisory build 1.1.8-3.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 slirp4netns Advisory build 1.2.1-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 toolbox Advisory build 0.0.99.4-5.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 toolbox Advisory build 0.0.99.4-5.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 toolbox-tests Advisory build 0.0.99.4-5.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 toolbox-tests Advisory build 0.0.99.4-5.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 udica Advisory build 0.2.6-20.module_el8.8.0+3615+3543c705 ALSA-2023:6939
AlmaLinux 8 udica Advisory build 0.2.6-4.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 9 buildah Advisory build 1:1.31.3-1.el9 ALSA-2023:6473
AlmaLinux 9 buildah-tests Advisory build 1:1.31.3-1.el9 ALSA-2023:6473
AlmaLinux 9 containernetworking-plugins Advisory build 1:1.3.0-4.el9 ALSA-2023:6402
AlmaLinux 9 podman Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-docker Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-gvproxy Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-plugins Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-remote Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-tests Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 skopeo Advisory build 2:1.13.3-1.el9 ALSA-2023:6363
AlmaLinux 9 skopeo-tests Advisory build 2:1.13.3-1.el9 ALSA-2023:6363
AlmaLinux 9 toolbox Advisory build 0.0.99.4-6.el9_3 ALSA-2023:6346
AlmaLinux 9 toolbox-tests Advisory build 0.0.99.4-6.el9_3 ALSA-2023:6346
Alpine Linux v3.17 go Fixed 1.19.6-r0 Package fix record
Alpine Linux v3.18 go Fixed 1.20.1-r0 Package fix record

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with mime/multipart.Reader.ReadForm can consume largely unlimited amounts of memory and disk files. This also affects form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. ReadForm takes a maxMemory parameter, and is documented as storing "up to maxMemory bytes +10MB (reserved for non-file parts) in memory". File parts which cannot be stored in memory are stored on disk in temporary files. The unconfigurable 10MB reserved for non-file parts is excessively large and can potentially open a denial of service vector on its own. However, ReadForm did not properly account for all memory consumed by a parsed form, such as map entry overhead, part names, and MIME headers, permitting a maliciously crafted form to consume well over 10MB. In addition, ReadForm contained no limit on the number of disk files created, permitting a relatively small request body to create a large number of disk temporary files. With fix, ReadForm now properly accounts for various forms of memory overhead, and should now stay within its documented limit of 10MB + maxMemory bytes of memory consumption. Users should still be aware that this limit is high and may still be hazardous. In addition, ReadForm now creates at most one on-disk temporary file, combining multiple form parts into a single temporary file. The mime/multipart.File interface type's documentation states, "If stored on disk, the File's underlying concrete type will be an *os.File.". This is no longer the case when a form contains more than one file part, due to this coalescing of parts into a single file. The previous behavior of using distinct files for each form part may be reenabled with the environment variable GODEBUG=multipartfiles=distinct. Users should be aware that multipart.ReadForm and the http.Request methods that call it do not limit the amount of disk consumed by temporary files. Callers can limit the size of form data with http.MaxBytesReader.

en · Go · cna

Vendor advisories explicitly linked to this CVE.

64

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Go standard library mime/multipart 0 to < 1.19.6 (affected · semver)1.20.0-0 to < 1.20.1 (affected · semver)Default: unaffected Go · cna

Weaknesses

1
  • CWE-400 CWE-400: Uncontrolled Resource Consumption (Go · cna)

References

5

Provider assertions

3

Go · cna

Excessive resource consumption in mime/multipart

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
1386d30896e85152d32317d6c8c79e401fb03e7706e0229764446113db068b67
Ingested
23 Sep 2026, 08:02:45 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected