# OSV-2020-1297: Heap-buffer-overflow in pcpp::DnsResource::getDataLength

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-07-22T21:50:04.093Z
- Modified: 2022-04-13T03:04:38.526Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 2
Crash state:
pcpp::DnsResource::getDataLength
pcpp::DnsResource::getSize
pcpp::DnsLayer::parseResources
```

(As written by OSS-Fuzz.)

## Affected

- pcapplusplus (OSS-Fuzz): from 4366d2f86bf105025765a0ce3db6e647ba0f3508 before 612455a2c65d08c0425dbad97ff67129091eb0e6

## References

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

## Sources

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

---

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