# CVE-2023-51747: SMTP smuggling in Apache James

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/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): 1.04%, higher than 65% of CVEs (2026-12-01)
- Published: 2024-02-27T13:08:01.807Z
- Modified: 2026-06-17T06:41:35.373Z
- Also known as: GHSA-p5q9-86w4-2xr5
- Weaknesses: CWE-20, CWE-290, CWE-444
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

Apache James prior to versions 3.8.1 and 3.7.5 is vulnerable to SMTP smuggling.

A lenient behaviour in line delimiter handling might create a difference of interpretation between the sender and the receiver which can be exploited by an attacker to forge an SMTP envelop, allowing for instance to bypass SPF checks.

The patch implies enforcement of CRLF as a line delimiter as part of the DATA transaction.

We recommend James users to upgrade to non vulnerable versions.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache James server: up to 3.7.4; from 3.8 up to 3.8.0
- org.apache.james:james-server (Maven): before 3.7.5; from 3.8.0 before 3.8.1
- apache james: 3.7.5; 3.8.1

## Every score

- CISA-ADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/> (product, related)
- <https://postfix.org/smtp-smuggling.html> (product, related, web)
- <https://lists.apache.org/thread/rxkwbkh9vgbl9rzx1fkllyk3krhgydko> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2024/02/27/4> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51747> (advisory)
- <https://github.com/apache/james-project/commit/d1ef102540e504c067b6c1721a6f1e7eee9c6fc6> (web)
- <https://github.com/apache/james-project/commit/d5cd8bb098aa78d8d62c9645f3c532689ef1cb03> (web)
- <https://github.com/apache/james-project> (package)
- <https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide> (web)

## Sources

- CVE List: [CVE-2023-51747](https://www.cve.org/CVERecord?id=CVE-2023-51747), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-p5q9-86w4-2xr5](https://github.com/advisories/GHSA-p5q9-86w4-2xr5), CC-BY-4.0, modified 2024-11-13
- NVD: [CVE-2023-51747](https://nvd.nist.gov/vuln/detail/CVE-2023-51747), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-51747 · Whole record: https://cve.day/CVE-2023-51747.json · Rebuilt by cve.day 2026-11-25T22:58:33.087Z
