Skip to content
Noroxi
CVE-2023-45290· NVD / CVE Program· CNA Go

Memory exhaustion in multipart form parsing in net/textproto and net/http

When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.

MediumCVSS 6.5 · v3.1—No exploit Fix available
Published
Mar 5, 2024
Updated
Jun 17, 2026
EPSS
1.2% · 66th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

26

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Affected systems

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Go). Independent of NVD's CPE analysis and usually ahead of it.

  • Go standard library net/textproto

    • before 1.21.8affected · semver
    • 1.22.0-0 and later · before 1.22.1affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8aardvark-dnsbefore 2:1.10.0-1.module_el8.10.0+3876+e55593a82:1.10.0-1.module_el8.10.0+3876+e55593a8
AlmaLinux:8aardvark-dnsbefore 2:1.10.1-2.module_el8.10.0+3901+4b80ecd72:1.10.1-2.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8aardvark-dnsbefore 2:1.10.0-1.module_el8.10.0+3858+6ad51f9f2:1.10.0-1.module_el8.10.0+3858+6ad51f9f
AlmaLinux:8aardvark-dnsbefore 2:1.10.0-1.module_el8.10.0+3792+03eaed9c2:1.10.0-1.module_el8.10.0+3792+03eaed9c
AlmaLinux:8buildahbefore 2:1.33.8-4.module_el8.10.0+3901+4b80ecd72:1.33.8-4.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8buildahbefore 2:1.33.8-4.module_el8.10.0+3876+e55593a82:1.33.8-4.module_el8.10.0+3876+e55593a8
AlmaLinux:8buildah-testsbefore 2:1.33.8-4.module_el8.10.0+3901+4b80ecd72:1.33.8-4.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8buildah-testsbefore 2:1.33.8-4.module_el8.10.0+3876+e55593a82:1.33.8-4.module_el8.10.0+3876+e55593a8
AlmaLinux:8cockpit-podmanbefore 84.1-1.module_el8.10.0+3858+6ad51f9f84.1-1.module_el8.10.0+3858+6ad51f9f
AlmaLinux:8cockpit-podmanbefore 84.1-1.module_el8.10.0+3876+e55593a884.1-1.module_el8.10.0+3876+e55593a8
AlmaLinux:8conmonbefore 3:2.1.10-1.module_el8.10.0+3901+4b80ecd73:2.1.10-1.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8conmonbefore 3:2.1.10-1.module_el8.10.0+3845+87b845523:2.1.10-1.module_el8.10.0+3845+87b84552
AlmaLinux:8conmonbefore 3:2.1.10-1.module_el8.10.0+3858+6ad51f9f3:2.1.10-1.module_el8.10.0+3858+6ad51f9f
AlmaLinux:8conmonbefore 3:2.1.10-1.module_el8.10.0+3876+e55593a83:2.1.10-1.module_el8.10.0+3876+e55593a8
AlmaLinux:8container-selinuxbefore 2:2.229.0-2.module_el8.10.0+3901+4b80ecd72:2.229.0-2.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8container-selinuxbefore 2:2.229.0-2.module_el8.10.0+3876+e55593a82:2.229.0-2.module_el8.10.0+3876+e55593a8
AlmaLinux:8containernetworking-pluginsbefore 1:1.4.0-5.module_el8.10.0+3876+e55593a81:1.4.0-5.module_el8.10.0+3876+e55593a8
AlmaLinux:8containernetworking-pluginsbefore 1:1.4.0-5.module_el8.10.0+3901+4b80ecd71:1.4.0-5.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8containers-commonbefore 2:1-82.module_el8.10.0+3901+4b80ecd72:1-82.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8containers-commonbefore 2:1-82.module_el8.10.0+3876+e55593a82:1-82.module_el8.10.0+3876+e55593a8
AlmaLinux:8critbefore 3.18-5.module_el8.10.0+3901+4b80ecd73.18-5.module_el8.10.0+3901+4b80ecd7
AlmaLinux:8critbefore 3.18-5.module_el8.10.0+3858+6ad51f9f3.18-5.module_el8.10.0+3858+6ad51f9f
AlmaLinux:8critbefore 3.18-5.module_el8.10.0+3845+87b845523.18-5.module_el8.10.0+3845+87b84552
AlmaLinux:8critbefore 3.18-5.module_el8.10.0+3876+e55593a83.18-5.module_el8.10.0+3876+e55593a8

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-42507Arbitrary inputs are included in errors without any escaping in net/textproto
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Go standard library net/textproto1.21.8Vendor (CNA)
Go standard library net/textproto1.22.1Vendor (CNA)
almalinux:delve1.21.2-3.module_el8.10.0+3760+4dd778f9 · AlmaLinux:8Package registry (OSV)
almalinux:git-lfs3.4.1-2.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:go-toolset1.21.9-2.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:golang1.21.9-2.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:golang-bin1.21.9-2.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:golang-docs1.21.9-2.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:golang-misc1.21.9-2.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:golang-src1.21.9-2.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:golang-tests1.21.9-2.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:podman4:4.9.4-4.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:podman-docker4:4.9.4-4.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:podman-plugins4:4.9.4-4.el9_4 · AlmaLinux:9Package registry (OSV)
Go:stdlib1.21.8Package registry (OSV)
Go:stdlib1.22.1Package registry (OSV)
opensuse:go1.211.21.8-150000.1.27.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:go1.21-openssl1.21.13.1-150000.1.11.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:go1.221.22.1-150000.1.9.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:go1.22-openssl1.22.7.1-150000.1.3.1 · openSUSE:Leap 15.5Package registry (OSV)
red hat:butane0:0.21.0-1.rhaos4.16.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:butane-debuginfo0:0.21.0-1.rhaos4.16.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:butane-debugsource0:0.21.0-1.rhaos4.16.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:openshift0:4.16.0-202406170957.p0.g29c95f3.assembly.stream.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:openshift-hyperkube0:4.16.0-202406170957.p0.g29c95f3.assembly.stream.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:openshift-kube-apiserver0:4.16.0-202406170957.p0.g29c95f3.assembly.stream.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:openshift-kube-controller-manager0:4.16.0-202406170957.p0.g29c95f3.assembly.stream.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:openshift-kube-scheduler0:4.16.0-202406170957.p0.g29c95f3.assembly.stream.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:openshift-kubelet0:4.16.0-202406170957.p0.g29c95f3.assembly.stream.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)
red hat:ose-azure-acr-image-credential-provider0:4.16.0-202404301345.p0.g0e95532.assembly.stream.el8 · Red Hat:openshift:4.16::el8Package registry (OSV)

+19

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-secondary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records