# OSV-2021-872: Heap-buffer-overflow in ndpi_set_detected_protocol

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-06-18T00:01:21.964Z
- Modified: 2022-04-13T03:04:36.226Z

## Description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35300

```
Crash type: Heap-buffer-overflow READ 4
Crash state:
ndpi_set_detected_protocol
ndpi_int_http_add_connection
check_content_type_and_change_protocol
```

(As written by OSS-Fuzz.)

## Affected

- ndpi (OSS-Fuzz): from be808c30f3f4582009df4c5efccd4f3bb0c6ef1d before b0b3e1bc6c8db7cf8a2a26dbb29ffdb057d86121; before 0afc8ace3d2da3ff67c13cf3e95f722bdc981170

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35300> (report)

## Sources

- OSS-Fuzz: [OSV-2021-872](https://osv.dev/vulnerability/OSV-2021-872), CC-BY-4.0, modified 2022-04-13

---

Page: https://cve.day/OSV-2021-872 · Whole record: https://cve.day/OSV-2021-872.json · Rebuilt by cve.day 2026-11-25T22:56:18.764Z
