# CVE-2025-61725: Excessive CPU consumption in ParseAddress in net/mail

> Attackers can cause excessive CPU consumption in Go applications by sending large domain-literal components to the net/mail ParseAddress function.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 29 Oct 2025
- **Updated:** 9 Dec 2025
- **Also known as:** AZL-69290, AZL-78923, AZL-98730, BELL-CVE-2025-61725, BIT-golang-2025-61725, CLEANSTART-2026-AY14774, CLEANSTART-2026-ER23519, CLEANSTART-2026-LJ53921, CLEANSTART-2026-TC21251, DEBIAN-CVE-2025-61725, ECHO-3355-af98-f0dc, GHSA-qh38-484v-w52x, GO-2025-4006, MINI-25g2-29hp-5862, MINI-2647-9x3h-qm5w, MINI-28g7-m3g2-cxrw, MINI-2958-mchm-3756, MINI-2c7r-c4g7-6xx6, MINI-2f38-q792-vwx7, MINI-2hw2-54jw-m4f6, MINI-2jhr-v28g-vf9v, MINI-2m7x-9pv9-fq36, MINI-2mcj-vwx6-2v75, MINI-2q8m-2vp5-8796, MINI-2qg5-h8c5-6qp6, MINI-2w6w-87g5-24p4, MINI-2xhr-qp47-4gch, MINI-2xrx-pp2j-pw2f, MINI-332c-mgrw-482w, MINI-337x-3gxg-98rj, MINI-33ph-m4vm-7hqh, MINI-33x4-2x82-7hc9, MINI-34c7-mp9f-v986, MINI-34vh-cv4h-5j8v, MINI-34x8-h7wp-86gc, MINI-35jr-4hhr-qhmx, MINI-37mv-x2c3-2gmq, MINI-3fmf-m678-32vh, MINI-3hgv-fqh3-2cm7, MINI-3hpc-2c43-2j52, MINI-3hvm-6378-4q34, MINI-3m63-7684-rcpw, MINI-3mgf-qpm8-vhgr, MINI-3px4-7xcw-vxjw, MINI-3qp4-6v76-q9mf, MINI-3v7f-248g-8g67, MINI-3wf5-2ggc-fx5p, MINI-3wp8-545q-vjvj, MINI-3xfc-2h2x-9mg5, MINI-3xvh-7vc3-78mj, MINI-432m-4chf-74qh, MINI-469r-w7fx-2rg2, MINI-46w3-5x5v-jh25, MINI-474f-wgpg-98vr, MINI-49r7-2w5g-5mv8, MINI-4fmm-58qj-rvfq, MINI-4gmp-hj9v-4j4x, MINI-4gp9-795p-8w8v, MINI-4hw3-j5f3-8r6r, MINI-4jjc-h4f8-jxfw, MINI-4mg2-c5q6-3gvw, MINI-4wmj-jfx2-j6hm, MINI-54rc-6q3f-5xjr, MINI-5862-p9gv-4p7f, MINI-5cfh-4m7h-g6w2, MINI-5f63-8m32-6mwp, MINI-5g3p-gx2q-h9fh, MINI-5grg-pxm7-7j5h, MINI-5hjq-r734-c4hr, MINI-5hmm-qw2q-mh9c, MINI-5p8x-r9m2-g37c, MINI-5pf7-fcvf-vrf3, MINI-5r48-vh92-2732, MINI-5rgg-96mm-9p3q, MINI-5v3h-c9g5-r79j, MINI-5vgp-p55f-fg9q, MINI-5w82-4m5q-p2xq, MINI-5x87-62gv-fg5g, MINI-63rv-wg66-q5h6, MINI-667q-hgh6-9f98, MINI-67rv-474q-9qq9, MINI-6fr6-7qhq-cjmm, MINI-6j9j-fch4-28hc, MINI-6jp3-2jfm-9cg4, MINI-6pfj-c753-7jgr, MINI-6pvm-hmvv-468r, MINI-6qff-96c4-84gq, MINI-6rrj-4rq3-ff7g, MINI-6xv8-jfmf-9q72, MINI-73xv-2g85-v23g, MINI-74vx-32v3-4qh6, MINI-75fc-ph4v-q372, MINI-7785-56h5-5m8m, MINI-78fr-8v5c-wrcf, MINI-79pm-prfg-phvv, MINI-7c56-x8vc-4hr8, MINI-7g69-rxpr-7mq3, MINI-7h7m-587h-v5rx, MINI-7j27-g6qp-8m5q, MINI-7j5q-g23h-3mrp, MINI-7pj4-xvx6-j8h3, MINI-7w7p-m32c-c86m, MINI-7wq6-cr63-mw9q, MINI-82c5-9pmj-f7xx, MINI-83wm-xvv6-875c, MINI-88x2-jjvq-6qwf, MINI-8qcf-xg8v-rj5p, MINI-8v35-9jfp-h3q4, MINI-8vx9-3vmf-99qw, MINI-92g8-pg7w-pmhp, MINI-95rf-g3cr-rq62, MINI-965v-r9jf-rwh7, MINI-989f-4x6v-8pgp, MINI-9947-pjv9-gv49, MINI-9hm2-c9h7-gg8x, MINI-9jqm-q98q-6rxw, MINI-9m5h-933w-89ff, MINI-9pcc-j3r9-p287, MINI-9q9f-x939-g98f, MINI-9rj6-2j62-h7jr, MINI-9xvg-73h4-96hg, MINI-9xxv-fh44-34vf, MINI-c2vw-47v7-73qr, MINI-c39j-xvc3-5p54, MINI-c3h9-7m9c-pqhr, MINI-c3pg-58c9-ff97, MINI-c53w-647q-7f93, MINI-c59p-vcq4-3hgq, MINI-c5v8-3q8w-v627, MINI-c74c-8vgm-cvrq, MINI-c758-qxx8-96pm, MINI-c86j-c6c4-vcpr, MINI-c8hf-mp7w-w7m2, MINI-cf2x-697q-2xgc, MINI-cf6m-4828-hq6p, MINI-cfc4-3crg-xc52, MINI-cgj8-6f33-r79w, MINI-cp3c-mj7w-23xc, MINI-cp8q-7wfc-x5rv, MINI-cq42-p48m-29g6, MINI-crvm-9p4w-v2j3, MINI-cvqf-6wcc-v437, MINI-f543-rmm9-cqfg, MINI-f5p7-r472-4fjm, MINI-f6g5-m9j4-pp52, MINI-f88q-729j-qmvh, MINI-fcxg-874m-cqxr, MINI-fhj6-894c-3prf, MINI-fj27-83q7-xrvq, MINI-fjg9-cprf-mxvm, MINI-fp5p-2qqc-h38m, MINI-fr5p-pwwq-w5m9, MINI-frfp-7xhp-855g, MINI-fvj9-hjrf-ghgg, MINI-fw5c-j7f5-8qrc, MINI-g3jg-rppx-qgq8, MINI-g3wx-884g-jpx6, MINI-g48x-v52r-4vwp, MINI-g4rp-jv2f-j6pc, MINI-g4vv-jfcp-gwx5, MINI-g53f-h47c-52wc, MINI-g7g8-g386-3x4w, MINI-g833-jv9m-8v5v, MINI-g8q9-hm6v-h568, MINI-g97w-hpp9-4m58, MINI-gc39-rqgq-r4p4, MINI-gfv4-wg4g-q93q, MINI-gg47-mr6q-rfpv, MINI-gh9c-r67v-3r2v, MINI-gj4c-f7jm-h588, MINI-gj92-695w-8cwj, MINI-gm3c-r35x-7j9g, MINI-gp7v-h9pq-m9qp, MINI-gqcj-c2q8-593p, MINI-grcx-8wrj-w3rr, MINI-gx54-5hxw-fmcv, MINI-gx73-3634-5577, MINI-h39h-gfq3-69c2, MINI-h5gq-w8wh-hgw4, MINI-h6hj-r3p6-wmw3, MINI-h6v7-mc5r-jjrv, MINI-h9p9-6mpv-hmhm, MINI-hcxc-vfq8-wxv6, MINI-hfrq-6pv9-wv8j, MINI-hfx8-83xh-5q96, MINI-hg8h-3g54-5g8h, MINI-hgj9-qqpv-fw7w, MINI-hr78-6c56-55x3, MINI-hrcg-pgg8-47r4, MINI-hx65-h7g7-9cx3, MINI-hxpw-mfhj-xpf3, MINI-j2jq-47wf-mch4, MINI-j34w-m96x-gxxm, MINI-j5jr-9792-4j33, MINI-j63q-rh59-5783, MINI-j7gv-h3rg-xrgc, MINI-j9qj-2fvm-3vgc, MINI-jcw3-rxwf-288h, MINI-jf6c-7jfc-3jmf, MINI-jfww-vcjp-4c4j, MINI-jq93-p2h9-4jx9, MINI-m2pp-wg5g-9x8m, MINI-m3cr-2xcv-2cwq, MINI-m4x4-wj6p-hphg, MINI-m65w-68cp-wjwj, MINI-m957-hp9w-98r9, MINI-m9qw-q5m9-4fx4, MINI-mfhv-x83p-99pq, MINI-mfx3-2683-vvwf, MINI-mg59-952r-6fp2, MINI-mhhx-7cf4-r4mg, MINI-mmg6-g289-r5hq, MINI-mprm-4m92-vpmw, MINI-mq9q-fph3-7rg2, MINI-mwxj-jmgc-q87p, MINI-p3h3-vq92-cj6f, MINI-p5r3-jwpj-3j46, MINI-p5vh-fwpg-p24p, MINI-p8cg-v475-76v9, MINI-p8gm-633c-6rpp, MINI-p8rm-5fvp-xjj3, MINI-pcr5-646q-h24r, MINI-pcv7-3mqj-4g86, MINI-pf44-37h4-j9cj, MINI-pgq4-wgh3-rx7q, MINI-phqg-4xph-wq8m, MINI-pm5r-742w-ffjm, MINI-pmwj-2jxg-wxqr, MINI-pxcm-2jf3-2h35, MINI-pxf3-4qq6-vp2w, MINI-q3r7-wgv7-6q6f, MINI-q4qj-72mh-q64q, MINI-q62w-phvh-6jhh, MINI-q89w-666x-3mr3, MINI-q92f-jx53-j8wh, MINI-q937-94hw-5m9c, MINI-q9g5-85r7-hjq9, MINI-qc6g-8j42-pc9v, MINI-qffm-wq5h-87mx, MINI-qgfc-jqv6-mq8c, MINI-qq22-6jj4-c78r, MINI-qr62-gg28-qhhq, MINI-qw6h-px88-c456, MINI-qwp9-38jh-9gvm, MINI-qx9r-8vpp-mmjx, MINI-qxrj-4mrw-rqmw, MINI-r3f6-93c3-6fqr, MINI-r6ww-m5jh-fm8f, MINI-r7mw-xhj3-9vhv, MINI-rcrr-pr7x-55f3, MINI-rgpv-gfpm-mv4q, MINI-rjx2-phgg-c684, MINI-rjxf-3vg3-7xxr, MINI-rmf7-p5q7-9x3h, MINI-rp59-927m-x27r, MINI-rrr3-973x-pwpx, MINI-rxw2-vxfm-33c5, MINI-v8f6-74ww-c7c8, MINI-v8pp-74r2-5q9w, MINI-vf3q-5mg2-q4x8, MINI-vf6p-96j8-27jg, MINI-vfm2-mh38-m288, MINI-vv2h-g9w7-cx4m, MINI-w54v-rpm7-q8fh, MINI-w57p-m7gw-w4m6, MINI-w5h3-q4f6-hc26, MINI-w5wj-337j-34mf, MINI-w9fc-9fqf-gm37, MINI-w9qw-6r3f-g2hp, MINI-wh6m-56gr-fmq8, MINI-wmwr-75v7-2j93, MINI-wmxq-2hgm-qh94, MINI-wq4q-4683-3q3j, MINI-ww68-53p8-rrg2, MINI-wwcj-h838-frmh, MINI-x39m-cgc8-g444, MINI-x57x-85h4-qpr6, MINI-x5hw-43hp-3cp7, MINI-x6qc-pv5q-3h44, MINI-x764-pmfx-jh5j, MINI-x932-hpc3-x8f5, MINI-xf5h-rq37-494g, MINI-xg9f-2g2w-r369, MINI-xp9h-pv4c-xc2g, MINI-xq7h-rwgq-7x9f, MINI-xqhh-5ccq-pc3q, MINI-xr64-rxj8-7pwc, MINI-xrm6-gwx2-4592, MINI-xrrg-wf65-2q46, MINI-xvv5-94x6-j446, MINI-xwfv-pmxj-79hx, MINI-xwv3-g6pq-rfp7, MINI-xwvh-89vc-8cw7, MINI-xxwm-6fr5-crcq, ROOT-OS-DEBIAN-13-CVE-2025-61725, UBUNTU-CVE-2025-61725

## What is CVE-2025-61725?

CVE-2025-61725 is a high-severity denial of service vulnerability in Go standard library net/mail, published on 29 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The ParseAddress function constructs domain-literal address components through repeated string concatenation. When parsing large domain-literal components, this can cause excessive CPU consumption.

## Which versions are affected by CVE-2025-61725?

2 open source packages ship an affected version, including golang and stdlib.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `golang` | Bitnami | All versions | 1.24.8, 1.25.2 |
| `stdlib` | Go | All versions | 1.24.8, 1.25.2 |

## How do I fix CVE-2025-61725?

Upgrade golang to a fixed version for your release line: 1.24.8 or 1.25.2.

## Is CVE-2025-61725 being exploited?

There is no known exploitation of CVE-2025-61725 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-61725 and fix it if it is affected.

What it is: CVE-2025-61725 is a high-severity denial of service vulnerability in Go standard library net/mail, published on 29 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2025-61725 in the wild and no public exploit code.

Affected packages and fixed versions:
- golang (Bitnami): affected all versions; fixed in 1.24.8, 1.25.2
- stdlib (Go): affected all versions; fixed in 1.24.8, 1.25.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-61725/ (Markdown: https://insights.sbomify.com/CVE-2025-61725/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-61725
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-61725
- OSV: https://osv.dev/vulnerability/CVE-2025-61725

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-61725/
Summaries are generated and may contain mistakes; the official description above is the record.
