# CVE-2019-25681: Xlight FTP Server 3.9.1 SEH Overwrite Buffer Overflow

> Local attackers can trigger a buffer overflow in Xlight FTP Server via crafted configuration input, potentially leading to code execution or application crashes.

- **Severity:** High 8.6 (`CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 5 Apr 2026
- **Updated:** 6 Apr 2026
- **Also known as:** GHSA-x9m5-f2h9-hrgh

## What is CVE-2019-25681?

CVE-2019-25681 is a high-severity memory corruption vulnerability in Xlightftpd Xlight, published on 5 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Xlight FTP Server 3.9.1 contains a structured exception handler (SEH) overwrite vulnerability that allows local attackers to crash the application and overwrite SEH pointers by supplying a crafted buffer string. Attackers can inject a 428-byte payload through the program execution field in virtual server configuration to trigger a buffer overflow that corrupts the SEH chain and enables potential code execution.

Weakness: CWE-787 (Out-of-bounds Write)

## Which versions are affected by CVE-2019-25681?

It affects 1 product.


Products: Xlightftpd Xlight Ftp Server.

## How do I fix CVE-2019-25681?

No fix has been published for CVE-2019-25681 yet. Limit exposure of the affected software until one is available.

## Is CVE-2019-25681 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-25681 exists.

## Other vulnerabilities in Xlightftpd Xlight

- [CVE-2009-4795](https://insights.sbomify.com/CVE-2009-4795/): SQL injection in n/a (medium 6.8)
- [CVE-2010-2695](https://insights.sbomify.com/CVE-2010-2695/): Path traversal in n/a (medium 6.5)
- [CVE-2024-0737](https://insights.sbomify.com/CVE-2024-0737/): Xlightftpd Xlight FTP Server Login denial of service (medium 5.3)
- [CVE-2023-53886](https://insights.sbomify.com/CVE-2023-53886/): Xlight FTP Server 3.9.3.6 Stack Buffer Overflow Vulnerability via Execute Program (medium 5.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-25681 and fix it if it is affected.

What it is: CVE-2019-25681 is a high-severity memory corruption vulnerability in Xlightftpd Xlight, published on 5 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-25681 exists.

Affected product: Xlightftpd Xlight. No package-level version data is available, so check the vendor advisory linked from the reference page.

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-2019-25681/ (Markdown: https://insights.sbomify.com/CVE-2019-25681/index.md)
```

## Sources

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

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