new file mode 100644
@@ -0,0 +1,34 @@
+From 041098a1a3bee481a1c8e905257ba04dad0c60a1 Mon Sep 17 00:00:00 2001
+From: Michael Niedermayer <michael@niedermayer.cc>
+Date: Tue, 6 Oct 2026 06:53:14 +0200
+Subject: [PATCH] avformat/rtmppkt: Make the packet header buffer large enough
+
+The fix is the one recommended in the report.
+
+Fixes: out of array write
+Fixes: BvkwW4Yd19HN
+Fixes: AISLE-2026-0111-00462
+Stack out of array write Replicated through UnModified FFmpeg with ASAN
+Found-by: Joshua Rogers <joshua.rogers@aisle.com>
+
+CVE: CVE-2026-135725
+Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/041098a1a3bee481a1c8e905257ba04dad0c60a1]
+
+Signed-off-by: Dickson Wu <dickson.wu@certik.com>
+---
+ libavformat/rtmppkt.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c
+index e52307c5d63c5..ee687d4791568 100644
+--- a/libavformat/rtmppkt.c
++++ b/libavformat/rtmppkt.c
+@@ -314,7 +314,7 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *pkt,
+ int chunk_size, RTMPPacket **prev_pkt_ptr,
+ int *nb_prev_pkt)
+ {
+- uint8_t pkt_hdr[16], *p = pkt_hdr;
++ uint8_t pkt_hdr[18], *p = pkt_hdr;
+ int mode = RTMP_PS_TWELVEBYTES;
+ int off = 0;
+ int written = 0;
@@ -35,6 +35,7 @@ SRC_URI = " \
file://CVE-2026-135736.patch \
file://CVE-2026-135743.patch \
file://CVE-2026-135722.patch \
+ file://CVE-2026-135725.patch \
"
SRC_URI[sha256sum] = "a231e3d5742c44b1cdaebfb98ad7b6200d12763e0b6db9e1e2c5891f2c083a18"