# OSV-2025-541: Heap-buffer-overflow in js_create_function

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-07-09T00:20:09.455Z
- Modified: 2025-07-09T00:20:09.456Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 2
Crash state:
js_create_function
__JS_EvalInternal
JS_EvalObject
```

(As written by OSS-Fuzz.)

## Affected

- quickjs (OSS-Fuzz): from f1b1c000c2a05972c1834f306786d2b41f767ef5 before fa628f8c523ecac8ce560c081411e91fcaba2d20

## References

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

## Sources

- OSS-Fuzz: [OSV-2025-541](https://osv.dev/vulnerability/OSV-2025-541), CC-BY-4.0, modified 2025-07-09

---

Page: https://cve.day/OSV-2025-541 · Whole record: https://cve.day/OSV-2025-541.json · Rebuilt by cve.day 2026-11-25T22:56:19.117Z
