# CVE-2026-116269: MIME::Field::ParamVal versions before 5.521 for Perl turn an RFC 2231 filename with a hyphenated language tag into an empty recommended filename

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-10-28T17:33:22.332Z
- Modified: 2026-11-05T21:18:38.507Z
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

MIME::Field::ParamVal versions before 5.521 for Perl turn an RFC 2231 filename with a hyphenated language tag into an empty recommended filename.

A parameter such as filename*=utf-8'en-US'payload.exe is converted to an encoded word with the language tag appended to the charset. The decoder strips the language suffix only when it is a single word, so it cannot resolve the charset UTF-8*EN-US and returns an empty string. The recommended_filename() method returns that empty string rather than falling back to the name parameter.

Other mail readers return payload.exe. A remote sender can get an attachment past a policy that checks file extensions on the recommended filename.

(As written by CVE List.)

## Affected

- MIME-tools: before 5.521

## References

- <https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-116269](https://www.cve.org/CVERecord?id=CVE-2026-116269), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-116269](https://nvd.nist.gov/vuln/detail/CVE-2026-116269), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-116269 · Whole record: https://cve.day/CVE-2026-116269.json · Rebuilt by cve.day 2026-11-25T22:59:47.655Z
