diff --git a/_service b/_service
index 60df1b4..b5060ad 100644
--- a/_service
+++ b/_service
@@ -1,12 +1,12 @@
 <services>
   <service name="obs_scm" mode="disabled">
    <param name="changesgenerate">enable</param>
-   <param name="versionformat">5.15.12+kde@TAG_OFFSET@</param>
+   <param name="versionformat">5.15.13+kde@TAG_OFFSET@</param>
    <param name="url">https://invent.kde.org/qt/qt/qtbase.git</param>
    <param name="scm">git</param>
    <param name="filename">qtbase-everywhere-src</param>
    <param name="revision">kde/5.15</param>
-   <param name="parent-tag">v5.15.12-lts-lgpl</param>
+   <param name="parent-tag">v5.15.13-lts-lgpl</param>
    <param name="changesgenerate">enable</param>
   </service>
   <service name="set_version" mode="disabled"/>
diff --git a/_servicedata b/_servicedata
index beaac08..2126d72 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://invent.kde.org/qt/qt/qtbase.git</param>
-              <param name="changesrevision">a43df98d037ad07cf096ef2f775958ceba743613</param></service></servicedata>
\ No newline at end of file
+              <param name="changesrevision">b9906b5233a80cab372c95ac4dd68b25bdca0646</param></service></servicedata>
\ No newline at end of file
diff --git a/libqt5-qtbase.changes b/libqt5-qtbase.changes
index 84b640e..3b0a546 100644
--- a/libqt5-qtbase.changes
+++ b/libqt5-qtbase.changes
@@ -1,3 +1,78 @@
+-------------------------------------------------------------------
+Tue Mar 19 09:55:28 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
+
+- Update to version 5.15.13+kde138, rebased upstream:
+  * QVarLengthArray: fix UBs in emplace()/insert() ([basic.life], broken class invariant)
+  * Android: use test QFileInfo fileName() instead of completeBaseName()
+  * Fix few QFileInfo and QDir calls
+  * savegame ex.: fix include order [2/2]: game.h
+  * savegame ex.: use NSDMI, =default the default ctor
+  * savegame ex.: fix include order
+  * savegame ex.: fix extra ';' after Q_GADGET
+  * tst_qvarlengtharray: fix MyBase trackers for swap()
+  * Apple: Add CFBundleAllowMixedLocalizations=YES to Info.plist files
+  * qmake: Add CFBundleDevelopmentRegion to iOS Info.plist
+  * Update bundled libjpeg-turbo to version 2.1.5
+  * Revert "Copy only files that belongs to QML module"
+  * savegame ex.: make Level ctor explicit
+  * macOS: Skip deployment target runtime check when detecting compat version
+  * Apple: Use 'en' instead of 'English' as development region
+  * qmake: Add CFBundleDevelopmentRegion to the macOS Info.plist
+  * Update comments in QQuaternion::getEulerAngles
+  * QtGui/math3d: Fix QQuaternion::getEulerAngles for GimbalLock cases
+  * Pass short time format to GetTimeFormat from GetLocaleInfo
+  * Android: fix height calculation
+  * SQL/ODBC: fix some users of toSQLTCHAR() to not assume identical UTF-8/16/32 string lengths
+  * ODBC SQL driver: fix conversion of QByteArray to QVLA<SQLTCHAR>
+  * Docs:Android: Add docs notes about support for content Uris
+  * QODBC: correctly fill cache when index() is called
+  * Fix ignored name filter in QFileDialog::getOpenFileContent()
+  * GTK3 theme: simplify code
+  * Fix ContextInfo example crashing on Android
+  * ibus: check object validity before honoring `inputMethodAccepted()`
+  * ODBC SQL driver: deal with different sizes of SQLTCHAR correctly
+  * Doc: Update copyright year
+  * Android: pass EXTRA_INITIAL_URI to native FileDialog
+  * Doc: Only list qt core classes in qt core io group
+  * QFileSystemEngine: URL encode path in trash info, use relative path
+  * [doc] Warn users about data races regarding qt_ntfs_permission_lookup
+  * [doc] QSharedPointer: add some missing docs
+  * Disable feature vkgen if vulkan was explicitly disabled
+  * Android: handle move operation with content uris
+  * Android: handle rename() operation with content uris
+  * Android: Add facilities to handle more content URIs operations
+  * Fix infinite loop when iterating content uri sub-files/dirs
+  * Return the QFileInfo::baseName/QDir::dirName() from fileEngine impl
+  * SQLite: Update SQLite to v3.40.1
+  * Fix cache maybe invalid while the signal is actived from queue
+  * Android A11Y: Only access the main thread when it is not blocked
+  * ibus: support high dpi for cursor rectangle
+  * QString: use inheritance, not template aliases, for arg() constraints
+  * Fix the ref-counting for the std::function version of tryStart()
+  * Android: Fix UI is scaled smaller than before
+  * Android: fix Android assets handler not listing dirs with only sub dirs
+  * Android: fix deprecations for getDrawable() on QtMessageDialogHelper
+  * Android: Fix deprecations AlertDialog.setButton()
+  * Bump version to 5.15.13
+  * Doc: Increase Test Function Timeout
+  * QtMiscUtils: add missing toAsciiUpper(), use it in moc
+  * QLatin1/String/View: don't decay the arg() arguments
+  * QBuffer: test and document open() behavior
+  * SQLite: Update SQLite to v3.40.0
+  * tst_qmlstream: re-use QBuffer instance in readBack()
+  * iOS a11y: Ensure parent elements are stacked below their children
+  * qmake: Document that QMAKE_PRE_LINK does not work with Xcode
+  * Blacklist: test cases blacklisted in tst_Gestures:
+  * Android: Fix incorrect dimensions - part 2
+  * PCRE2: upgrade to 10.42
+  * QNetworkRequest: don't assume QByteArray::constData() is NUL-terminated
+  * QNetworkRequest: Make header parsing locale-independent
+  * Doc: Change links from froglogic to qt domain
+  * Backport QtMiscUtils::toAsciiLower() from dev
+- Commits dropped by the rebase:
+  * Apply CVE-2023-24607-qtbase-5.15.diff
+  * correctly set up ref counting in QThreadPool::tryStart(std::function)
+
 -------------------------------------------------------------------
 Fri Feb 16 07:44:56 UTC 2024 - Fabian Vogt <fvogt@suse.com>
 
diff --git a/libqt5-qtbase.spec b/libqt5-qtbase.spec
index 424e285..d2d5f0a 100644
--- a/libqt5-qtbase.spec
+++ b/libqt5-qtbase.spec
@@ -29,15 +29,15 @@
 %bcond_without harfbuzz
 
 Name:           libqt5-qtbase
-Version:        5.15.12+kde151
+Version:        5.15.13+kde138
 Release:        0
 Summary:        C++ Program Library, Core Components
 License:        LGPL-3.0-only or GPL-3.0-with-Qt-Company-Qt-exception-1.1
 Group:          System/Libraries
 Url:            https://www.qt.io
 %define base_name libqt5
-%define real_version 5.15.12
-%define so_version 5.15.12
+%define real_version 5.15.13
+%define so_version 5.15.13
 %define tar_version qtbase-everywhere-src-%{version}
 Source:         %{tar_version}.tar.xz
 # to get mtime of file:
diff --git a/qtbase-everywhere-src-5.15.12+kde151.obscpio b/qtbase-everywhere-src-5.15.12+kde151.obscpio
deleted file mode 100644
index dfde016..0000000
--- a/qtbase-everywhere-src-5.15.12+kde151.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7f14ebbe44559c686aa136b18c1b4a0df81206f9166bd154913eaedf5c1ae7d5
-size 293565454
diff --git a/qtbase-everywhere-src-5.15.13+kde138.obscpio b/qtbase-everywhere-src-5.15.13+kde138.obscpio
new file mode 100644
index 0000000..81dd187
--- /dev/null
+++ b/qtbase-everywhere-src-5.15.13+kde138.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:81428d564eca62b21ad72086c01309be5e625257b33eaa4faf55623de7327126
+size 293884942
diff --git a/qtbase-everywhere-src.obsinfo b/qtbase-everywhere-src.obsinfo
index 1d985c9..85c4a82 100644
--- a/qtbase-everywhere-src.obsinfo
+++ b/qtbase-everywhere-src.obsinfo
@@ -1,4 +1,4 @@
 name: qtbase-everywhere-src
-version: 5.15.12+kde151
-mtime: 1708001344
-commit: a43df98d037ad07cf096ef2f775958ceba743613
+version: 5.15.13+kde138
+mtime: 1710404481
+commit: b9906b5233a80cab372c95ac4dd68b25bdca0646