# JLSEC-2026-251: Issue summary: Calling the OpenSSL API function `SSL_free_buffers` may cause memory to be accessed...

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-27T18:33:55.942Z
- Modified: 2026-07-25T18:23:50.222Z
- Related: CVE-2024-4741, GHSA-6vgq-8qjq-h578, EUVD-2024-44338

## Description

Issue summary: Calling the OpenSSL API function `SSL_free_buffers` may cause
memory to be accessed that was previously freed in some situations

Impact summary: A use after free can have a range of potential consequences such
as the corruption of valid data, crashes or execution of arbitrary code.
However, only applications that directly call the `SSL_free_buffers` function are
affected by this issue. Applications that do not call this function are not
vulnerable. Our investigations indicate that this function is rarely used by
applications.

The `SSL_free_buffers` function is used to free the internal OpenSSL buffer used
when processing an incoming record from the network. The call is only expected
to succeed if the buffer is not currently in use. However, two scenarios have
been identified where the buffer is freed even when still in use.

The first scenario occurs where a record header has been received from the
network and processed by OpenSSL, but the full record body has not yet arrived.
In this case calling `SSL_free_buffers` will succeed even though a record has only
been partially processed and the buffer is still in use.

The second scenario occurs where a full record containing application data has
been received and processed by OpenSSL but the application has only read part of
this data. Again a call to `SSL_free_buffers` will succeed even though the buffer
is still in use.

While these scenarios could occur accidentally during normal operation a
malicious attacker could attempt to engineer a stituation where this occurs.
We are not aware of this issue being actively exploited.

The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.

(As written by Julia Security Advisories.)

## Affected

- OpenSSL_jll (Julia): before 3.0.14+0
- Openresty_jll (Julia): from 1.19.9+0 before 1.27.1+0

## References

- <https://github.com/advisories/GHSA-6vgq-8qjq-h578> (web)
- <https://github.com/openssl/openssl/commit/704f725b96aa373ee45ecfb23f6abfe8be8d9177> (web)
- <https://github.com/openssl/openssl/commit/b3f0eb0a295f58f16ba43ba99dad70d4ee5c437d> (web)
- <https://github.com/openssl/openssl/commit/c88c3de51020c37e8706bf7a682a162593053aac> (web)
- <https://github.com/openssl/openssl/commit/e5093133c35ca82874ad83697af76f4b0f7e3bd8> (web)
- <https://github.openssl.org/openssl/extended-releases/commit/f7a045f3143fc6da2ee66bf52d8df04829590dd4> (web)
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00033.html> (web)
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00000.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4741> (web)
- <https://security.netapp.com/advisory/ntap-20240621-0004> (web)
- <https://security.netapp.com/advisory/ntap-20240621-0004/> (web)
- <https://www.openssl.org/news/secadv/20240528.txt> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-251](https://osv.dev/vulnerability/JLSEC-2026-251), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-251 · Whole record: https://cve.day/JLSEC-2026-251.json · Rebuilt by cve.day 2026-11-25T22:56:26.054Z
