# CVE-2019-1010142: Infinite Loop in scapy

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.79% (percentile 87, 2026-11-26)
- **CWE:** CWE-835
- **Aliases:** GHSA-mpf2-q34c-fc6j, PYSEC-2019-120
- **Published:** 2019-07-19T15:45:09.000Z
- **Modified:** 2026-06-17T02:09:47.843Z

## Who should check

- Projects that depend on PyPI package scapy (\>= 2.4-rc1, \< 2.4.1)
- Anyone running SecDev scapy 2.4.0

## Description

scapy 2.4.0 is affected by: Denial of Service. The impact is: infinite loop, resource consumption and program unresponsive. The component is: \_RADIUSAttrPacketListField.getfield(self..). The attack vector is: over the network or in a pcap. both work.

## Affected and fixed versions

- PyPI `scapy`: affected \>= 2.4-rc1, \< 2.4.1; fixed 2.4.1 (osv)
- SecDev scapy: 2.4.0 (cvelist)

## Mitigation

- Upgrade scapy to 2.4.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2019-1010142.md
Affected: scapy >= 2.4-rc1, < 2.4.1
Fixed in: 2.4.1

Steps:
1. Search this machine and project for scapy (PyPI), SecDev scapy: 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-2019-1010142 being exploited?

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

### How serious is CVE-2019-1010142?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.

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

scapy \>= 2.4-rc1, \< 2.4.1.

### Is there a fix for CVE-2019-1010142?

Yes. Fixed in 2.4.1. Upgrade scapy to 2.4.1 or later.

### How do I check if I'm affected by CVE-2019-1010142?

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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T46XW4S5BCA3VV3JT3C5Q6LBEXSIACLN/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42NRPMC3NS2QVFNIXYP6WV2T3LMLLY7E/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2019-1010142>
- vendor: <https://github.com/advisories/GHSA-mpf2-q34c-fc6j>
- patch: <https://github.com/secdev/scapy/pull/1409/files#diff-441eff981e466959968111fc6314fe93L1058>
- patch: <https://github.com/secdev/scapy/pull/1409>
- exploit: <https://www.imperva.com/blog/scapy-sploit-python-network-tool-is-vulnerable-to-denial-of-service-dos-attack-cve-pending/>
- other: <http://www.securityfocus.com/bid/106674>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/scapy/PYSEC-2019-120.yaml>
- other: <https://github.com/secdev/scapy>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/42NRPMC3NS2QVFNIXYP6WV2T3LMLLY7E>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T46XW4S5BCA3VV3JT3C5Q6LBEXSIACLN>
- other: <https://www.imperva.com/blog/scapy-sploit-python-network-tool-is-vulnerable-to-denial-of-service-dos-attack-cve-pending>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T46XW4S5BCA3VV3JT3C5Q6LBEXSIACLN/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/42NRPMC3NS2QVFNIXYP6WV2T3LMLLY7E/>

## 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-2019-1010142>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-mpf2-q34c-fc6j> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2019-120> (license: <https://creativecommons.org/licenses/by/4.0/>)

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