# CVE-2024-27938: SMTP Smuggling in Postal

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-28)
- **CWE:** CWE-116
- **Published:** 2024-03-11T21:18:14.988Z
- **Modified:** 2026-06-17T07:20:38.157Z

## Who should check

- Anyone running postalserver postal \< 3.0.0

## Description

Postal is an open source SMTP server. Postal versions less than 3.0.0 are vulnerable to SMTP Smuggling attacks which may allow incoming e-mails to be spoofed. This, in conjunction with a cooperative outgoing SMTP service, would allow for an incoming e-mail to be received by Postal addressed from a server that a user has 'authorised' to send mail on their behalf but were not the genuine author of the e-mail. Postal is not affected for sending outgoing e-mails as email is re-encoded with \`\<CR\>\<LF\>\` line endings when transmitted over SMTP. This issue has been addressed and users should upgrade to Postal v3.0.0 or higher. Once upgraded, Postal will only accept End of DATA sequences which are explicitly \`\<CR\>\<LF\>.\<CR\>\<LF\>\`. If a non-compliant sequence is detected it will be logged to the SMTP server log. There are no workarounds for this issue.

## Affected and fixed versions

- postalserver postal: \< 3.0.0 (cvelist)

## Mitigation

- Upgrade postal to 3.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27938. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27938.md
Affected: postalserver postal < 3.0.0
Fixed in: postalserver postal 3.0.0

Steps:
1. Search this machine and project for postalserver postal: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-27938 being exploited?

There is no confirmed exploitation: CVE-2024-27938 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-27938?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-27938?

postalserver postal \< 3.0.0.

### Is there a fix for CVE-2024-27938?

Yes. Fixed in postalserver postal 3.0.0. Upgrade postal to 3.0.0 or later.

### How do I check if I'm affected by CVE-2024-27938?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/postalserver/postal/security/advisories/GHSA-j42r-6c99-hqf2>
- patch: <https://github.com/postalserver/postal/commit/0140dc4>
- exploit: <https://www.postfix.org/smtp-smuggling.html>
- other: <https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27938>

HTML: <https://flawdb.com/CVE-2024-27938> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27938>
