# OSV-2020-1687: Bad-cast to pcpp::Layer from invalid vptr

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-02T00:00:36.557Z
- Modified: 2022-04-13T03:04:38.674Z

## Description

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

```
Crash type: Bad-cast
Crash state:
Bad-cast to pcpp::Layer from invalid vptr
pcpp::IDnsResource::getRawData
pcpp::DnsResource::getDataLength
```

(As written by OSS-Fuzz.)

## Affected

- pcapplusplus (OSS-Fuzz): from 3977cd142500a03431397357bebf7f1d61be8ce8 before aee0c4f87c9815adf8405c65f56a7aadd92782c7

## References

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

## Sources

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

---

Page: https://cve.day/OSV-2020-1687 · Whole record: https://cve.day/OSV-2020-1687.json · Rebuilt by cve.day 2026-11-25T22:56:18.485Z
