Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:libaec
User: [email protected]
Usertags: pu

(Please provide enough information to help the release team
to judge the request efficiently. E.g. by filling in the
sections below.)

[ Reason ]
CVE-2026-120457. Low-priority buffer overflow fix.

[ Impact ]
Potential exploit, escalation of priviledges via processing
NetCDF files (often done in web-based workflows)

[ Tests ]
Fix tested in 1.1.8 release (added additional tests);
code fix trivial.

[ Risks ]
Code fix is trivial.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
Change int to uint to avoid overflow.

Thanks
Alastair
diff -Nru libaec-1.1.3/debian/changelog libaec-1.1.3/debian/changelog
--- libaec-1.1.3/debian/changelog       2024-03-22 08:50:51.000000000 +0000
+++ libaec-1.1.3/debian/changelog       2026-11-30 10:27:54.000000000 +0000
@@ -1,3 +1,10 @@
+libaec (1.1.3-1+deb13u1) trixie; urgency=medium
+
+  * Backport of fix for CVE-2026-120457 to 1.1.3
+  * d/control: drop dh-buildinfo
+
+ -- Alastair McKinstry <[email protected]>  Mon, 30 Nov 2026 10:27:54 +0000
+
 libaec (1.1.3-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru libaec-1.1.3/debian/control libaec-1.1.3/debian/control
--- libaec-1.1.3/debian/control 2024-03-22 08:50:51.000000000 +0000
+++ libaec-1.1.3/debian/control 2026-11-30 10:27:54.000000000 +0000
@@ -3,7 +3,6 @@
 Priority: optional
 Maintainer: Alastair McKinstry <[email protected]>
 Build-Depends: debhelper-compat (= 13),
- dh-buildinfo,
  unzip
 Rules-Requires-Root: no
 Standards-Version: 4.6.2
diff -Nru libaec-1.1.3/debian/patches/cve-2026-120457.patch 
libaec-1.1.3/debian/patches/cve-2026-120457.patch
--- libaec-1.1.3/debian/patches/cve-2026-120457.patch   1970-01-01 
01:00:00.000000000 +0100
+++ libaec-1.1.3/debian/patches/cve-2026-120457.patch   2026-11-30 
10:27:54.000000000 +0000
@@ -0,0 +1,16 @@
+Description: CVE-2026-120457: Fix out of bounds read in m_se_decode
+Bug-Origin: https://security-tracker.debian.org/tracker/CVE-2026-120457
+Last-Updated: 2026-11-30
+Forwarded: not needed
+
+--- a/src/decode.c
++++ b/src/decode.c
+@@ -541,7 +541,7 @@
+     struct internal_state *state = strm->state;
+ 
+     while(state->sample_counter < strm->block_size) {
+-        int32_t m;
++        uint32_t m;
+         int32_t d1;
+         if (fs_ask(strm) == 0)
+             return M_EXIT;
diff -Nru libaec-1.1.3/debian/patches/series libaec-1.1.3/debian/patches/series
--- libaec-1.1.3/debian/patches/series  1970-01-01 01:00:00.000000000 +0100
+++ libaec-1.1.3/debian/patches/series  2026-11-30 10:27:54.000000000 +0000
@@ -0,0 +1 @@
+cve-2026-120457.patch

Reply via email to