ADVISORIES

Vulnerability

CVE-2022-41725

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.

81 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2-2023-2163

    Amazon Linux 2 2017.12 - ALAS2-2023-2163: important priority package update for golang

    Important CVE-2022-41724CVE-2022-41725CVE-2023-24532CVE-2023-24536 Amazon Linux Updated 25 July 2023
  • ALAS2023-2023-175

    Amazon Linux 2023 - ALAS2023-2023-175: Important priority package update for golang

    Important CVE-2022-23772CVE-2022-23773CVE-2022-23806CVE-2022-2880 Amazon Linux Updated 3 May 2023
  • ALPINE-CVE-2022-41725

    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…

    CVE-2022-41725 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-41725
    CVE-2022-41725 Alpine Updated 18 November 2026
  • ALSA-2023:3083

    Moderate: go-toolset:rhel8 security and bug fix update

    CVE-2022-41724CVE-2022-41725 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6346

    Moderate: toolbox security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6363

    Moderate: skopeo security update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6402

    Moderate: containernetworking-plugins security and bug fix update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6473

    Moderate: buildah security update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6474

    Moderate: podman security, bug fix, and enhancement update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6938

    Moderate: container-tools:4.0 security and bug fix update

    CVE-2019-19921CVE-2022-3064CVE-2022-41723CVE-2022-41724 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6939

    Moderate: container-tools:rhel8 security and bug fix update

    CVE-2019-19921CVE-2022-3064CVE-2022-41723CVE-2022-41724 AlmaLinux Updated 29 October 2026
  • AZL-13732

    CVE-2022-41725 affecting package golang for versions less than 1.19.5-1

    CVE-2022-41725 Azure Linux Updated 21 April 2026
  • AZL-13739

    CVE-2022-41725 affecting package msft-golang for versions less than 1.19.6-1

    CVE-2022-41725 Azure Linux Updated 21 April 2026
  • AZL-34761

    CVE-2022-41725 affecting package golang for versions less than 1.19.5-1

    CVE-2022-41725 Azure Linux Updated 21 April 2026
  • AZL-37334

    CVE-2022-41725 affecting package golang for versions less than 1.21.6-1

    CVE-2022-41725 Azure Linux Updated 21 April 2026
  • AZL-37487

    CVE-2022-41725 affecting package golang for versions less than 1.21.6-1

    CVE-2022-41725 Azure Linux Updated 21 April 2026
  • AZL-78992

    CVE-2022-41725 affecting package golang 1.25.7-1

    CVE-2022-41725 Azure Linux Updated 21 April 2026
  • AZL-98943

    CVE-2022-41725 affecting package golang 1.27.1-1

    CVE-2022-41725 Azure Linux Updated 16 September 2026
  • CGA-2fwc-j852-f39g
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-33f3-446w-97q8
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-5j5x-9vf3-fgjc
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-68xj-6572-hx4g
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-8jp3-wrhq-53h9
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-8pf8-hgrr-hr5g
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-9j7p-5hx7-gq7p
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-fqvv-4v7r-v85h
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-g6w5-q42x-8w3m
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-hgfj-88r7-2wj2
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-jcg9-mfcg-m3jc
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-jgcj-v526-rhg9
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-jjgv-3f28-mj44
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-mfph-cq3v-pmg5
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-pfg2-c2f3-jp8p
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-v35w-v2wg-hcvf
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-vmf5-8vwf-558j
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-whc9-pv2q-fr2v
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-xfcq-9mww-f37g
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • CGA-xhf9-3f76-w6vm
    CVE-2022-41725 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2022-41725

    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…

    CVE-2022-41725 Debian Updated 20 November 2026
  • ELSA-2023-3083

    ELSA-2023-3083: go-toolset:ol8 security and bug fix update (MODERATE)

    Moderate CVE-2022-41724CVE-2022-41725 Oracle Linux Updated 25 May 2023
  • ELSA-2023-6363

    ELSA-2023-6363: skopeo security update (MODERATE)

    Moderate CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Oracle Linux Updated 11 November 2023
  • ELSA-2023-6402

    ELSA-2023-6402: containernetworking-plugins security and bug fix update (MODERATE)

    Moderate CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Oracle Linux Updated 11 November 2023
  • ELSA-2023-6473

    ELSA-2023-6473: buildah security update (MODERATE)

    Moderate CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Oracle Linux Updated 11 November 2023
  • ELSA-2023-6474

    ELSA-2023-6474: podman security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Oracle Linux Updated 11 November 2023
  • ELSA-2023-6938

    ELSA-2023-6938: container-tools:4.0 security and bug fix update (MODERATE)

    Moderate CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Oracle Linux Updated 18 November 2023
  • ELSA-2023-6939

    ELSA-2023-6939: container-tools:ol8 security and bug fix update (MODERATE)

    Moderate CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Oracle Linux Updated 18 November 2023
  • GO-2023-1569

    Excessive resource consumption in mime/multipart

    CVE-2022-41725 Go Updated 4 February 2026
  • OESA-2023-1192

    golang security update

    High CVE-2022-41723CVE-2022-41724CVE-2022-41725 openEuler Updated 18 August 2026
  • RHBA-2023:2181

    Red Hat Bug Fix Advisory: delve, golang, and go-toolset bug fix and enhancement update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 13 November 2026
  • RHSA-2023:1325

    Red Hat Security Advisory: OpenShift Container Platform 4.13.0 security update

    CVE-2022-27191CVE-2022-2990CVE-2022-3259CVE-2022-41717 Red Hat Updated 23 November 2026
  • RHSA-2023:3083

    Red Hat Security Advisory: go-toolset:rhel8 security and bug fix update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 13 November 2026
  • RHSA-2023:3445

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (etcd) security update

    CVE-2021-28235CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 24 November 2026
  • RHSA-2023:3450

    Red Hat Security Advisory: OpenShift Serverless Client kn 1.29.0 release

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 23 November 2026
  • RHSA-2023:3612

    Red Hat Security Advisory: OpenShift Container Platform 4.13.4 packages and security update

    CVE-2022-41717CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 13 November 2026
  • RHSA-2023:4003

    Red Hat Security Advisory: Red Hat Service Interconnect 1.4 Release security update

    CVE-2022-28327CVE-2022-2879CVE-2022-2880CVE-2022-41715 Red Hat Updated 24 November 2026
  • RHSA-2023:4470

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.3 Product Security and Bug Fix Update

    CVE-2022-41717CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:5964

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.5 (collectd-libpod-stats) security update

    Known exploited CVE-2022-41724CVE-2022-41725CVE-2023-24534CVE-2023-24536 Red Hat Updated 24 November 2026
  • RHSA-2023:6346

    Red Hat Security Advisory: toolbox security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6363

    Red Hat Security Advisory: skopeo security update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6402

    Red Hat Security Advisory: containernetworking-plugins security and bug fix update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6473

    Red Hat Security Advisory: buildah security update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6474

    Red Hat Security Advisory: podman security, bug fix, and enhancement update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6938

    Red Hat Security Advisory: container-tools:4.0 security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 24 November 2026
  • RHSA-2023:6939

    Red Hat Security Advisory: container-tools:rhel8 security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 24 November 2026
  • RHSA-2023:7672

    Red Hat Security Advisory: OpenShift Virtualization 4.14.1 RPMs security and bug fix update

    CVE-2022-41724CVE-2022-41725 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2022-41725

    golang: net/http, mime/multipart: denial of service from excessive resource consumption

    Moderate CVE-2022-41725 Red Hat Updated 5 November 2026
  • RLSA-2023:3083

    Moderate: go-toolset:Rocky Linux8 security and bug fix update

    CVE-2022-41724CVE-2022-41725 Rocky Linux Updated 5 February 2026
  • RLSA-2023:6938

    Moderate: container-tools:4.0 security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Rocky Linux Updated 28 November 2025
  • RLSA-2023:6939

    Moderate: container-tools:rhel8 security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Rocky Linux Updated 28 November 2025
  • SUSE-SU-2023:0733-1

    Security update for go1.19

    CVE-2022-41722CVE-2022-41723CVE-2022-41724CVE-2022-41725 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0735-1

    Security update for go1.20

    CVE-2022-41722CVE-2022-41723CVE-2022-41724CVE-2022-41725 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0869-1

    Security update for go1.18

    CVE-2022-41723CVE-2022-41724CVE-2022-41725 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0871-1

    Security update for container-suseconnect

    CVE-2022-41720CVE-2022-41723CVE-2022-41724CVE-2022-41725 SUSE Updated 4 February 2026
  • SUSE-SU-2023:2312-1

    Security update for go1.18-openssl

    CVE-2022-1705CVE-2022-1962CVE-2022-24675CVE-2022-27536 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-41725

    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…

    CVE-2022-41725 Ubuntu Updated 20 May 2026
  • USN-7109-1

    golang-1.18 vulnerabilities

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24531 Ubuntu Updated 25 June 2026
  • USN-7111-1

    golang-1.17 vulnerabilities

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24536 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:12707-1

    go1.19-1.19.6-1.1 on GA media

    CVE-2022-41722CVE-2022-41723CVE-2022-41724CVE-2022-41725 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12708-1

    go1.20-1.20.1-1.1 on GA media

    CVE-2022-41722CVE-2022-41723CVE-2022-41724CVE-2022-41725 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12798-1

    go1.18-1.18.10-1.1 on GA media

    CVE-2022-41723CVE-2022-41724CVE-2022-41725 openSUSE Updated 4 February 2026

References